|
|
How do I list all processes currently running with "nohup" ?
How can I list all currently running processes which were started originally with the "nohup"
prefix?
Wolfgang
|
|
0
|
|
|
|
Reply
|
wmeister
|
5/18/2008 6:00:10 PM |
|
Wolfgang Meister schreef:
> How can I list all currently running processes which were started originally with the "nohup"
> prefix?
>
> Wolfgang
i think, after reading the 'info nohup' page, you cannot do that...
because the process will be as normal as all the other processes running
on your system.
--
Luuk
|
|
0
|
|
|
|
Reply
|
luuk (814)
|
5/18/2008 6:54:21 PM
|
|
On 2008-05-18, Wolfgang Meister <wmeister@hotmail.com> wrote:
>
>
> How can I list all currently running processes which were started
> originally with the "nohup" prefix?
>
> Wolfgang
I don't know if that's possible. It might be easier to list all
processes owned by users who are not currently logged in.
|
|
0
|
|
|
|
Reply
|
marcumbill (1012)
|
5/18/2008 7:09:17 PM
|
|
Luuk <Luuk@invalid.lan> writes:
> Wolfgang Meister schreef:
>> How can I list all currently running processes which were started originally with the "nohup"
>> prefix?
>> Wolfgang
>
> i think, after reading the 'info nohup' page, you cannot do that...
>
> because the process will be as normal as all the other processes
> running on your system.
lsof | grep nohup.out
gets close.
|
|
0
|
|
|
|
Reply
|
daneNO2 (701)
|
5/18/2008 7:59:30 PM
|
|
--Signature=_Mon__19_May_2008_12_17_34_+0200_4xjsltRseiWoueVL
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Wolfgang Meister wrote:
> How can I list all currently running processes which were started
> originally with the "nohup" prefix?
This doesn't seem to be trivial. I think the easiest way is to get the
SigIgn mask for each running process and to check if HUP is ignored.
This could be done by some grep-magic, a la
ps -aopid,cmd,status | grep clever-regexp
But I don't know how the mask is set, maybe someone else does.
--Signature=_Mon__19_May_2008_12_17_34_+0200_4xjsltRseiWoueVL
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIMVO/5jrP7hWxSO8RAqs/AKCvKqptCdirq4s70F4jOVsgugVmogCeOVCy
MfKFvn99RWjyqNfJqubRu8Y=
=Vk3u
-----END PGP SIGNATURE-----
--Signature=_Mon__19_May_2008_12_17_34_+0200_4xjsltRseiWoueVL--
|
|
0
|
|
|
|
Reply
|
tn (18)
|
5/19/2008 10:17:34 AM
|
|
|
4 Replies
163 Views
(page loaded in 0.113 seconds)
Similiar Articles: how to resume a process to foreground after no-hup then disconnect ...When invoked with the -p or -g flags, nohup arranges for processes already running as identified by a list of process IDs or a list of process group IDs to ... Finding currently logged in users - comp.unix.programmer ...... suggest to me a way to list the UIDs of all the users that are currently ... keep only the UID that have processes with a TTY. In all ... placed at /etc/utmp or /var/run ... userdel : "user" is in use, but "user" isn't logged - comp.unix ...... by "user" > [snip] > > Are there any user's processes running? ... Finding currently logged in users - comp.unix ... comp.unix ... what is the command to list all the ... How to change the host name on x86 systems? - comp.unix.solaris ...Currently, my host name is "red", and it's IP ... Also, if anyone is manually editing all those files don't forget to run ... of a system during the installation process ... How to get tcp port numbers on Solaris 8/9 - comp.unix.solaris ...... specific process is running on ... for pid or process name. pfiles pid It will give you a list of all ... the numeric process id of the daemon. > > This works on currently ... Does directio(fd, DIRECTIO_ON) survive the file descriptor? - comp ...... use it as a performance hint (and consider making your program run ... With AIX, O_DIRECT takes effect only if all processes that are currently accessing the file are ... readline() with select() on STDIN - comp.unix.programmer ...But how do I prevent my process from taking up 99% CPU ? This is what happens currently with the while(1) loop. ... seems to work differently whether it is run on ... Cisco ACS - Limit Network Access Profiles to Active Directory User ...I'm currently in the process of migrating from Microsoft IAS to Cisco ACS 4.2. I'm currently running an Eval of CSACS v4.2 for Windows in the Lab unti... Quickest way to bulk copy many files from one disk cluster to ...I tried running it with nohup, and it did not survive. I will try it with cron as someone ... Fastest way to save data? - comp.soft-sys ... We currently have 9 disks (2 per ... Identifying who owns a write-locked file - comp.unix.solaris ...It must be a running process. Have you tried lsof (not ... You can use lsof, a tool to list all 'open files ... access2007 - Could not update; currently locked - comp ... Running process in the background with Nohup — Simple HelpQuite often I run a process that I need to let run even ... When you log in again you can access that process again, provided its still running. The basic syntax of “nohup ... Linux Shortcuts and CommandsUse ps axu to see all processes currently running on your ... Output is redirected to the file nohup.out in your home directory. You surely do not want to run an ... 7/29/2012 9:24:56 AM
|
|
|
|
|
|
|
|
|