you probably have 7 digit processes ID because running in a 64 bit kernel (type bootinfo -K, and if it returns 64 you are actually running the 64 bit kernel).
You'd better store pid numbers with pid_t data type , whatever kernel type you use, eg :
main (){
/* Get the pid of myself */
pid_t my_pid;
my_pid=getpid();
}
If this is not an application you develop yourself, well it's a bug from the software vendor )
Unfortunately it is not software we developed. I was hoping there was a way to change it in AIX to only use 6 digits. I guess I will have to rag on our vendor.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.