Score:0

Find name of process id after reboot (from previous boot)

pl flag

If I have a pid from a previous boot, how can I find the name of the process with pid on the currently running system?

Artur Meinild avatar
vn flag
You can't. PID's are assigned dynamically when processes are started and restarted, so you need to identify the process while it's running.
stephanmg avatar
pl flag
Yes, that's whay I guessed, is there any "logging" facility maybe?
Artur Meinild avatar
vn flag
The syslog will have the PID in square brackets after the process name - if the process wrote anything to the syslog. For instance, all `systemd` entries will have `systemd[1]`, because systemd is PID 1.
stephanmg avatar
pl flag
Ah, it says "kernel: pid=1234".
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.