01-22-2001
How can I find out what software is installed on the machine, other than ls? Is there a registry program like in Windows? The os is Sun 2.5.
Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how to obtain/ collect a list of all the applications installed in the system.. is there a configuration file(like the one which exists for hardware ) which holds all this information?? if no is there any command/shell script or utility that we can use for the same ??
I am using Red hat linux... (2 Replies)
Discussion started by: superghost
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am looking for a way to inventory the hardware and software components of many Solaris 8 servers/workstations. I would like to script this to run against a list of IP's in a text file.
For Windows there are many such programs available (like Belarc)
Is there anything similar for... (4 Replies)
Discussion started by: limey
4 Replies
3. Shell Programming and Scripting
Is there such a script out there that will Analyze a folder and subfolders, getting file type utilization and file aging. A CSV file will be created with file information File,Size,Date Created,Last Modified,Last Accessed,Extension,File Type,Owner
A Summary report text file will also be created... (4 Replies)
Discussion started by: seacros
4 Replies
4. Shell Programming and Scripting
Hi guys, im currently doing a library database program, and i need help for the following commands
my library.txt is
Google:Harry:45.00:50:100
This is my code
echo "Please enter Title"
read BookTitle
echo "Please enter Author"
read Author
echo "Price"
read Price
... (2 Replies)
Discussion started by: ichar
2 Replies
5. Shell Programming and Scripting
Hi,
I am getting all the scripts in my unix box through ls and pasting them in a xls for the Inventory Purpose.
Right now I am doing it manually I am going manually in each directory and doing a ls > temp.txt and pasting this out put in xls manually.
Is there any way to automate this ..if... (1 Reply)
Discussion started by: gaur.deepti
1 Replies
6. UNIX for Dummies Questions & Answers
Hi ,
We are migrating our scripts from one unix server to another unix server in aix. Is there any way we can export the permissions, owner, group of the folders and files inside the folders.
If I am copying xyz folder from old server, I need to generate a report with permissions ,owner and... (5 Replies)
Discussion started by: shruthidwh
5 Replies
7. UNIX for Advanced & Expert Users
we create a HP-UX software depot with a new perl-modul. after installation of the software depot, the perl module
i can't find with instmodsh in the inventory for installed Perl modules.
- i have learned of using instmodsh command : i find out what modules are already installed on my system.
... (0 Replies)
Discussion started by: bora99
0 Replies
8. Solaris
i need to extract following information through command line on solaris machine :
1.manufacturer name (hardware as well as OS)
2.Model number
3.Serial number - Serial Number of the device or the Physical device serial number for Virtual Servers
4.whether the server is physical or virtual -... (3 Replies)
Discussion started by: omkar.jadhav
3 Replies
9. UNIX for Advanced & Expert Users
Hi,
do you know any good server inventory open source products?
I want information like, server hostnames, ram, cpu, os, filesystems, volume groups, disks, adapters, installed software versions, firmware levels and so on
os: aix, solaris, linux, hpux
data should be kept in a database, web... (7 Replies)
Discussion started by: funksen
7 Replies
LEARN ABOUT LINUX
pkginfo
pkginfo(1) User Commands pkginfo(1)
NAME
pkginfo - display software package information
SYNOPSIS
pkginfo [-q | -x | -l] [-p | -i] [-r] [-a arch] [-v version] [-c category...] [pkginst...]
pkginfo [-d device] [-R root_path] [-q | -x | -l] [-a arch] [-v version] [-c category...] [pkginst...]
DESCRIPTION
pkginfo displays information about software packages that are installed on the system (with the first synopsis) or that reside on a par-
ticular device or directory (with the second synopsis).
Without options, pkginfo lists the primary category, package instance, and the names of all completely installed and partially installed
packages. It displays one line for each package selected.
OPTIONS
The -p and -i options are meaningless if used in conjunction with the -d option.
The options -q, -x, and -l are mutually exclusive.
-a arch Specify the architecture of the package as arch.
-c category Display packages that match category. Categories are defined with the CATEGORY parameter in the pkginfo(4) file. If more
than one category is supplied, the package needs to match only one category in the list. The match is not case specific.
-d device Defines a device, device, on which the software resides. device can be an absolute directory pathname or the identifiers
for tape, floppy disk, removable disk, and so forth. The special token spool may be used to indicate the default installa-
tion spool directory (/var/spool/pkg).
-i Display information for fully installed packages only.
-l Specify long format, which includes all available information about the designated package(s).
-p Display information for partially installed packages only.
-q Do not list any information. Used from a program to check whether or not a package has been installed.
-r List the installation base for relocatable packages.
-R root_path Defines the full path name of a directory to use as the root_path. All files, including package system information files,
are relocated to a directory tree starting in the specified root_path.
-v version Specify the version of the package as version. The version is defined with the VERSION parameter in the pkginfo(4) file.
All compatible versions can be requested by preceding the version name with a tilde (~). Multiple white spaces are replaced
with a single white space during version comparison.
-x Designate an extracted listing of package information. The listing contains the package abbreviation, package name, package
architecture (if available) and package version (if available).
OPERANDS
pkginst A package designation by its instance. An instance can be the package abbreviation or a specific instance (for example,
inst.1 or inst.2). All instances of a package can be requested by inst.*. The asterisk character (*) is a special character
to some shells and may need to be escaped. In the C-Shell, "*" must be surrounded by single quotes (') or preceded by a
backslash ().
EXIT STATUS
0 Successful completion.
>0 An error occurred.
FILES
/var/spool/pkg default installation spool directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
pkgtrans(1), pkgadd(1M), pkgask(1M), pkgchk(1M), pkgrm(1M), pkginfo(4), attributes(5)
Application Packaging Developer's Guide
SunOS 5.10 6 Nov 2000 pkginfo(1)