Feeds:
Posts
Comments

Posts Tagged ‘cmdline’

How to get cmdline of process

If you fork a new process from an existing one, you will find that they share the same program name and command line. You can change the command line by changing the argv[0] in the program. But in this case, the string in task_struct char comm[TASK_COMM_LEN] will not change. But in /proc/[pid]/cmdline, you can find [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.