List running services, corresponding package name and status.
Hi,
I am trying to list down list of running services, corresponding package name and status on HP-UX box. The output will be a CSV in a fashion:- Service Name, Package Name, Status.
While working on Linux centos, I used chkconfig to do the same. Below was the snippet:-
Now, chkconfig doesn't exist on HP-UX. Is there a way I can retrieve the similar output on HP-UX? Any help related to this is appreciated.
Thanks.
Last edited by Scrutinizer; 12-31-2014 at 05:24 AM..
Reason: code tags
We have lost our Sys Admin and with the DST changes.. i need to make sure all services are re-started on a SUN server running SUNOS 5.9
How can i list what is running and make sure they are running after the DST patches are applied? (2 Replies)
Hello all happy people! :)
Iam trying to figure out how to disable running services, and witch i can disable. Iam running ssh,apache,ftp and identd.
Here is an output from nmap:
21/tcp open ftp Solaris ftpd
22/tcp open ssh SunSSH 1.1 (protocol 2.0)
23/tcp ... (2 Replies)
How can i check which service is activated on my AIX Box?
how one can check particular port is open or not (like ftp/telnet port)?
I dont have admin rights (1 Reply)
Hi there all again,
I am building a menu script for viewing packages and deamons and printers and all..
I know how to collor text to red or green.
But I get my results from status and put it in a array.
How can I change a result that is standing in a array to build collor around it.
For... (6 Replies)
I did search on the subject on services in linux and they do explain how to find what are the services that loaded when the linux boot.
however I have not find how to detect what services run right now.
I would like to now that and how to kill services.
Thanks. (3 Replies)
Hi,
How can I list running services, corresponding package name and status on the AIX host?
On Linux (Centos), I use the below code snippet:-
for i in `chkconfig --list | awk '{ print $1}'`; do
status=`/sbin/service $i status`
packagename=`rpm -qf /etc/init.d/$i`
done
Is there... (2 Replies)
Hi All,
I have a requirement to get all the running services on few HP-UX boxes. In Linux systems I am able to do that successfully using: chkconfig --list. However I can't find anything equivalent in HP-UX. If anyone has any pointers on the same then please suggest.
Adyan (4 Replies)
My system suddenly crash and when it rebooted there was an error:
/dev/rdsk/c1t0d0s3 is logging
svc.startd: svc:/network/nis/client:default: Method "/method/yp" failed with status 96.
The system completes booting however when I log in a user account / directory is not longer... (1 Reply)
Discussion started by: NeedSolarisHelp
1 Replies
LEARN ABOUT XFREE86
dd-list
DD-LIST(1) General Commands Manual DD-LIST(1)NAME
dd-list - nicely list .deb packages and their maintainers
SYNOPSIS
dd-list [-hiusV] [--help] [--stdin] [--sources Sources_file] [--dctrl] [--version] [--uploaders] [package ...]
DESCRIPTION
dd-list produces nicely formatted lists of Debian (.deb) packages and their maintainers.
Input is a list of source or binary package names on the command line (or the standard input if --stdin is given). Output is a list of the
following format, where package names are source packages by default:
J. Random Developer <jrandom@debian.org>
j-random-package
j-random-other
Diana Hacker <diana@example.org>
fun-package
more-fun-package
This is useful when you want, for example, to produce a list of packages that need to attention from their maintainers, e.g., to be rebuilt
when a library version transition happens.
OPTIONS -h, --help
Print brief help message.
-i, --stdin
Read package names from the standard input, instead of taking them from the command line. Package names are whitespace delimited.
-d, --dctrl
Read package list from standard input in the format of a Debian package control file. This includes the status file, or output of
apt-cache. This is the fastest way to use dd-list, as it uses the maintainer information from the input instead of looking up the
maintainer of each listed package.
If no Source: line is given, the Package: name is used for output, which might be a binary package name.
-s, --sources Sources_file
Read package information from the specified Sources_files. This can be given multiple times.
If no Sources_files are specified, any files matching /var/lib/apt/lists/*_source_Sources will be used.
-u, --uploaders
Also list developers who are named as uploaders of packages, not only the maintainers; this is the default behaviour, use --nou-
ploaders to prevent it. Uploaders are indicated with "(U)" appended to the package name.
-nou, --nouploaders
Only list package Maintainers, do not list Uploaders.
-b, --print-binary
Use binary package names in the output instead of source package names (has no effect with --dctrl if the Package: line contains
source package names).
-V, --version
Print the version.
AUTHOR
Lars Wirzenius <liw@iki.fi>
Joey Hess <joeyh@debian.org>
Debian 2011-10-27 DD-LIST(1)