/proc/pid/cmdline question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List!

I'm wondering why some cmdline files are empty. As shown in the man page for "proc" this file is empty when the process is swapped out or the process is zombie.

When I cat the /proc/5/cmdline I read 0 chars, but the ps command shows this:

root         5  0.0  0.0      0     0 ?        S<   Aug07   0:00 [kthread].

The "S" state code indicates that the process is sleeping, but is it swapped out?

Am I missing something?

Thanks in advance!

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux