Getting "pidof[29146]: invalid options on command line!" error while checking nfs service status
Issue
- Getting "pidof[29146]: invalid options on command line!" error while checking nfs service status
[root@localhost ~]# service nfs status
rpc.mountd (pid 3864) is running...
pidof: invalid options on command line!
pidof: invalid options on command line!
-l is stopped
- The expected output is:
[root@localhost ~]# service nfs status
rpc.mountd (pid 22049) is running...
nfsd (pid 22046 22045 22044 22043 22042 22041 22040 22039) is running...
rpc.rquotad (pid 22020) is running...
Environment
- Red Hat Enterprise Linux 5
- nfs-utils-1.0.9-71.el5
- initscripts-8.45.45-1.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
