- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: checking daemon process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 02:50 AM
10-10-2002 02:50 AM
Is there a way to check any running daemon processes?
Could someone please show me how ?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 02:54 AM
10-10-2002 02:54 AM
Re: checking daemon process
Can you be more specific?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 03:03 AM
10-10-2002 03:03 AM
Re: checking daemon process
I'm wanting to check if I have some rsync daemons running or any other process daemons running, in general.
Any ideas?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 03:06 AM
10-10-2002 03:06 AM
Re: checking daemon process
You could use ps -ef|grep rsync
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 03:17 AM
10-10-2002 03:17 AM
Re: checking daemon process
ps -ef|grep rsyncd
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 03:25 AM
10-10-2002 03:25 AM
Re: checking daemon process
Pete
P.S. You can eliminate the extra line by doing "ps -ef |grep rsyncd |grep -v grep".
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2002 04:06 AM
10-10-2002 04:06 AM
SolutionA more exact way of verifying the presence of a prcoess is to search the process table for its basename:
# UNIX95= ps -C syslogd|awk 'NR>1'
Note that the UNIX95 option is only set for the duration of the command line. A blank (space) follows the equal sign. The argumennt after the 'ps -C' option is the basename of the process you are seeking. Multiple arguments are allowed, too by repeating the '-C 'basename' sequence.
By piping the output to 'awk' as shown, the heading line is suppressed.
If only the process pid is wanted, do this:
# UNIX95= ps -C syslogd|awk 'NR>1 {print $1}'
Regards!
...JRF...