LINUX
Sunday, 11 November 2012
All Service Status
To check all Service Status:-
#!/bin/bash
echo "To check status of all services are running or not "
service --status-all|grep "\(run\)"
service --status-all|grep "\(not run\)"
sh allservstatus.sh |awk '{ print $1 }'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment