- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: daemons
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-31-2008 02:42 AM
10-31-2008 02:42 AM
I want to know the if daemons are running which type of output it will generate.
How we findoue daemons are running or not?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 02:51 AM
10-31-2008 02:51 AM
Re: daemons
> I want to know the if daemons are running which type of output it will generate
you mean "if" command ,it is just a command for scripting and no need a specific daemon for this.
Usually ,you can confirm the status of the service (services are associated with daemons) by using ps command
#ps -aef |grep mbd (-- for checking samba service)
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 03:06 AM
10-31-2008 03:06 AM
Re: daemons
Daemons are called services sometimes and it will not generate specific output. It will do it's own job.
For example inetd daemon is the master internet daemon which will control other daemons like telnet, ftp, rlogin, remsh, etc.
Whenever telnet request comes, inetd daemon will start new telnetd daemon which will provide the telnet daemon.
You can use ps command with different switch to see the status of daemons.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 03:17 AM
10-31-2008 03:17 AM
Re: daemons
root 312 1 0 Oct 09 ? 0:00 /usr/lib/nfs/nfsd -a 16
user1 23096 23082 0 05:18:57 pts/2 0:00 grep nfsd
In the above output how i confirm the nfsd is running or not. If daemon is not running which type of output i will get?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 03:22 AM
10-31-2008 03:22 AM
SolutionLook at my system o/p
# ps -ef | grep nfs
root 32 0 0 Sep 19 ? 0:00 nfs_failover
root 33 0 0 Sep 19 ? 0:00 nfs4clntkd
root 31 0 0 Sep 19 ? 0:05 nfs_async_io
root 29 0 0 Sep 19 ? 0:00 nfs_reclaim
root 34 0 0 Sep 19 ? 0:00 nfs4_async_io
root 81 0 0 Sep 19 ? 0:00 nfs4srvkd
root 80 0 0 Sep 19 ? 0:00 nfslogkd
root 1004 1 0 Sep 19 ? 0:00 /usr/sbin/nfs4cbd
root 1010 1 0 Sep 19 ? 0:29 /usr/sbin/nfsmapid
root 1959 1 0 Sep 19 ? 0:00 /usr/sbin/nfsd
root 7959 6696 0 16:46:14 pts/tc 0:00 grep nfs
NFS is running on my system... The last line "grep nsf" will come any way.
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 03:30 AM
10-31-2008 03:30 AM
Re: daemons
>>If daemon is not running which type of output i will get? <<
If daemon is not running you won't get the daemon details in ps output.
ps command will provide the running process/daemon details.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2008 03:35 AM
10-31-2008 03:35 AM
Re: daemons
for checking demons or any process are running into the server ps is the command
$ ps -aef | grep -i nfs
root 3379 3355 0 Sep 24 ? 0:00 /usr/sbin/nfsd 16
root 3380 3355 0 Sep 24 ? 0:00 /usr/sbin/nfsd 16
root 3381 3355 0 Sep 24 ? 0:00 /usr/sbin/nfsd 16
monitor 1202 1128 0 17:03:20 pts/0 0:00 grep -i nfsd
where aef means
-a Select all processes except process group leaders and processes not associated with a terminal.
-e Select all processes.
-f Show columns user, pid, ppid, cpu, stime, tty, time, and args, in that order.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2008 04:16 AM
11-21-2008 04:16 AM
Re: daemons
In the above output you have the ? at tty.
But I got pts/0 at tty it is running or not.