- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to check active services in HPUX
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
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
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
тАО01-28-2009 01:42 AM
тАО01-28-2009 01:42 AM
How to check active services in HPUX
AIX OS we have lssrc command to check active services,
IS there any command equalent in HPUX.
FYI.
$ lssrc -a |grep active
syslogd ras 5068 active
portmap portmap 11362 active
inetd tcpip 11172 active
biod nfs 12942 active
nfsd nfs 6412 active
rpc.mountd nfs 14728 active
rpc.statd nfs 5558 active
rpc.lockd nfs 12394 active
sshd ssh 14242 active
ctrmc rsct 17816 active
snmpd tcpip 15520 active
clcomdES clcomdES 19882 active
IBM.CSMAgentRM rsct_rm 13174 active
clstrmgrES cluster 19636 active
IBM.AuditRM rsct_rm 21422 active
IBM.ServiceRM rsct_rm 20146 active
IBM.ERRM rsct_rm 18100 active
IBM.SensorRM rsct_rm 17346 active
topsvcs topsvcs 25040 active
grpsvcs grpsvcs 24474 active
emsvcs emsvcs 24806 active
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 01:51 AM
тАО01-28-2009 01:51 AM
Re: How to check active services in HPUX
No exact equivalent.
I would write a script and use the following toys:
lssof
ps -ef possibly with a check against /etc/servcies
No system-config-services like Linux here. Its a hole, no other way to describe it.
If you design this script, I want a copy.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2009 06:18 AM
тАО01-28-2009 06:18 AM
Re: How to check active services in HPUX
netstat -a |grep LISTEN |awk '{print $4}'
To find all the listening network ports.
You would also need to check /etc/inetd.conf for services started by inetd.
something like:
egrep -v "^#|^$" /etc/inetd.conf |awk '{print $1}'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 04:09 AM
тАО01-29-2009 04:09 AM
Re: How to check active services in HPUX
Beside that e.g. for inetd services you need to add some more command line switches.
So lssrc give you just a quick guess of some services!
On HP-UX there is no such service therefore you need to check manually (as suggested by others).
To find out what services are available, check /sbin/init.d and /etc/rc.config.d for the configuration of these services.
My 2 cents,
Armin
PS: Assign points if you find answers useful!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 05:42 AM
тАО01-29-2009 05:42 AM
Re: How to check active services in HPUX
cat /etc/rc.log |grep sbin |grep S |grep -v SKIPPED
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 06:36 AM
тАО01-29-2009 06:36 AM
Re: How to check active services in HPUX
lsof -i | grep LISTEN
Download:
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.81/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2009 06:41 AM
тАО01-29-2009 06:41 AM
Re: How to check active services in HPUX
From the definition of service, which is a daemon or an application listening to a certain port/socket on your system, the best way to find out what these processes are, is using the
netstat -an | grep LISTEN
then with the preferred way of dissecting the output and grabbing the listening port and mapping it to the application using the lsof -i command.
HTH
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 02:47 AM
тАО06-18-2009 02:47 AM
Re: How to check active services in HPUX
I think U mean to ask for equivalent for
#chkconfig --list ## command in Linux
# export UNIX95=1
#ps -eafH
This shows all running daemons only..... I am also loooking for the same i.e command for service listing....