05-01-2002
pkginfo - read the man page for options - this is assuming SUN OS (which you posted in your Sendmail questions - helps to post OS and version in all questions)
You may also find software that doesn't load via pkgadd - most of these SHOULD be in /opt or /usr/local/. Where to put extra software is left up to the individual admin who may have their own way of doing things.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello, I'm searching for a proper way to let the kernel space ISR(implemented in a kernel module) wake up a user space thread on a hardware interrupt.
Except for sending a real-time signal, is it possible to use a semaphore?
I've searched it on google, but it seems impossible to share a... (0 Replies)
Discussion started by: aaronwong
0 Replies
2. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
3. Linux
Hi,
i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :-
1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
1057 ls -l /root/myswapfile
1058 chmod 600 /root/myswapfile
1059 mkswap /root/myswapfile
1060 swapon /root/myswapfile
... (1 Reply)
Discussion started by: apm
1 Replies
4. Solaris
hi guys, me again ;)
i recently opened a thread about physical to zone migration.
My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone.
We are talking about 22mio of files.
i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies
5. Fedora
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have a space delimited text file but I only want to change the first space to a tab and keep the rest of the spaces intact. How do I go about doing that? Thanks! (3 Replies)
Discussion started by: evelibertine
3 Replies
7. UNIX for Dummies Questions & Answers
May I know the difference between space in keyboard and ] in regular expression
I entered the following
find . -type f -print | xargs grep -n 'dt=' | cut -d":" -f3 | sed 's/^ *dt=/dt=/g'
After "^" there is a space.
and the result is...
dt=`date +%Y%m%d%H%M%S`
dt=`date +%Y%m%d`... (6 Replies)
Discussion started by: bobbygsk
6 Replies
8. UNIX for Advanced & Expert Users
I created a awk state to calculate the number of success however when the query runs it has a leading zero. Any ideas on how to remove the leading zero from the calculation?
Here is my query:
cat myfile.log | grep | awk '{print $2,$3,$7,$11,$15,$19,$23,$27,$31,$35($19/$15*100)}'
02:00:00... (1 Reply)
Discussion started by: bizomb
1 Replies
9. Linux
Hello all
posting here after scanning the net and tried most of the things offered
still no solution that worked
when I do :
$ df -h
Filesystem Size Used Avail Use% Mounted on
footmpfs 7.9G 60K 7.9G 1% /dev
tmpfs 7.9G 0 7.9G 0% /dev/shm
/dev/da1 ... (3 Replies)
Discussion started by: umen
3 Replies
10. Shell Programming and Scripting
hi,
I'm trying to calculate IP addresses and their respective calls to our apache Server. The standard format of the input is
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST... (2 Replies)
Discussion started by: busyboy
2 Replies
LEARN ABOUT OPENDARWIN
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)