refabeats.blogg.se

Ps ef grep java command meaning
Ps ef grep java command meaning












Our second process, "email client", has a process ID of 7456 when we create it. One is named "spawner", and has a process ID (or PID) of 7234. PPID stands for "parent process ID", and if you didn't get it already, it simply stands for the process that created the process you are checking.įor example, let's say that we have two processes. Again, this is simply the identifier that gets attached to a program when it starts running, and can be helpful if you need to interact with the process in one way or another.

ps ef grep java command meaning

The identifiers that get attached to all these processes are known as PIDs and PPIDs.

ps ef grep java command meaning

These can be helpful if you want to monitor the process (for example, such as to see how much memory or CPU it is using), or maybe if you want to end it if it starts to hang or just act a bit funky. Linux process basicsĮverything that runs on your system is ran via something known as a process, with that simply being the running instance of a program.Īll the processes that run on your system are assigned identifiers.

ps ef grep java command meaning

I'll explain these commands in detail but before that a quick recap of process, PID and PPID. There are numerous ways to get the PID (Process ID) and PPID (Parent Process ID) of a given process in Linux. Knowing the PID and PPID of a process can be helpful if you need to manage or interact with a process running on your system.














Ps ef grep java command meaning