Discussion:
How to check if services are running or not
(too old to reply)
James
19 years ago
Permalink
Hi all,

I am new to AIX. My past experience are mostly related to RH Linux.
I wondered how to check if a daemon service, say dhcpd, is running or
not.
In Linux, there is
service dhcpd on/off/status

Is there a similiar command in AIX?

Many thanks,

James
James
19 years ago
Permalink
Post by James
Hi all,
I am new to AIX. My past experience are mostly related to RH Linux.
I wondered how to check if a daemon service, say dhcpd, is running or
not.
In Linux, there is
service dhcpd on/off/status
Is there a similiar command in AIX?
Many thanks,
James
other than "ps -ef"
James
19 years ago
Permalink
Post by James
Hi all,
I am new to AIX. My past experience are mostly related to RH Linux.
I wondered how to check if a daemon service, say dhcpd, is running or
not.
In Linux, there is
service dhcpd on/off/status
Is there a similiar command in AIX?
Many thanks,
James
I guess to start and stop a daemon is using
startsrc -s
stopsrc -s
How about checking status?
sol gongola
19 years ago
Permalink
Post by James
Post by James
Hi all,
I am new to AIX. My past experience are mostly related to RH Linux.
I wondered how to check if a daemon service, say dhcpd, is running or
not.
In Linux, there is
service dhcpd on/off/status
Is there a similiar command in AIX?
Many thanks,
James
I guess to start and stop a daemon is using
startsrc -s
stopsrc -s
How about checking status?
man lssrc
lssrc -a
lssrc -s named
OR smitty > Processes & sunsystems > subsystems ...
I'm sure there is a shorcut for smitty but i don't recall what is is.

sol
sol gongola
19 years ago
Permalink
Post by James
Post by James
Hi all,
I am new to AIX. My past experience are mostly related to RH Linux.
I wondered how to check if a daemon service, say dhcpd, is running or
not.
In Linux, there is
service dhcpd on/off/status
Is there a similiar command in AIX?
Many thanks,
James
I guess to start and stop a daemon is using
startsrc -s
stopsrc -s
How about checking status?
man lssrc
lssrc -a
lssrc -s named
OR smitty > Processes & subsystems > subsystems ...
I'm sure there is a shortcut for smitty but i don't recall what is is.

sol

Lew Pitcher
19 years ago
Permalink
Post by James
Hi all,
I am new to AIX. My past experience are mostly related to RH Linux.
I wondered how to check if a daemon service, say dhcpd, is running or
not.
In Linux, there is
service dhcpd on/off/status
Only in some distributions. The "service" command is not a general linux
command.
Post by James
Is there a similiar command in AIX?
Don't know, but from reading the documentation (freely available on the
web, don't you know ;-) ) it doesn't look like it. The only possibility
I can see would be smit/smitty, which is supposed to be the AIX system
management tool.


- --

Lew Pitcher, IT Specialist, Corporate Technology Solutions,
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)
Continue reading on narkive:
Loading...