Sponsored Content
Operating Systems Solaris How to find MQ details on Solaris 5.8? Post 302762191 by tokiwinter on Monday 28th of January 2013 08:15:34 AM
Old 01-28-2013
What details are you looking for?

You can, for example, find out which files a package has installed with

Code:
pkgchk -l <package> | grep Pathname

That will at least give you the locations of the various components that comprise MQ.
 

9 More Discussions You Might Find Interesting

1. Solaris

Where can I find details of what various Solaris packages do?

Among varous other items, I'm trying to find out what "Authentication Management Infrastructure" (package SUNWamix) does, and why would a sysadmin disable it? The reason given is 'for security purposes' without explanation ... how and why is AMI such a 'security risk' that it has to be turned off?... (3 Replies)
Discussion started by: muleheadjoe
3 Replies

2. Red Hat

How to find the os and h/w details

Hi Need to know the version(suse/redhat) and processor info(x86/itanium/amd etc). I tried uname -a but cannot understand what is what... Linux myworkhost 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux I dont have the root password, I can only ssh and have to... (3 Replies)
Discussion started by: amiri2000
3 Replies

3. Solaris

Find server details

Hi experts Is there a command or a way in Solaris to find server details like this: SUN240R 2 @ 160MHz CPU 1Gb memory Solaris8 lan0 (16SV LAN) 100FD lan1 (45CI LAN) 100FD lan2 (8CON LAN) 10HD lan3 (38SY LAN) 100HD Thanks (1 Reply)
Discussion started by: lalelle
1 Replies

4. Shell Programming and Scripting

Directory details with FIND

Hello, an easy question, I hope. What would be the way to produce a result from the following find statement that would also include for each line in the output the details usually associated with the ls -ltr command? Here is the find I am using: find . -name "*.prg" -exec grep "test line" {}... (4 Replies)
Discussion started by: gio001
4 Replies

5. Solaris

Need some help to find out hardware details

hi all i am looking for some command or utility to find out hard ware details. 1. How should i know whether my network adapter is a fibre card or RJ25 (upd) card (ethtool in linux) 2. How to check physical connectivity. ("mii-tool eth0" in linux) 3. How to find pci devices with exact details.... (1 Reply)
Discussion started by: kingston
1 Replies

6. AIX

How to find the year in last login details

Hi Friends I have a query. we had a requirement to see the last login details of our users so I ran the command last <username> and the output i get is: wtmp begins Apr 17 21:48 Now I need to know couple of things: 1. How can I see the year this log is being read from wtmp file 2. Is... (4 Replies)
Discussion started by: nathandrake13
4 Replies

7. Solaris

I/O details of all FS in Solaris

Hi, Can anyone let me know which command should i use to find Filesystem I/O utilization report along with the respective process b/w specific time range (9 Replies)
Discussion started by: ali560045
9 Replies

8. Shell Programming and Scripting

How to find a file with a specific pattern for current sysdate & upon find email the details?

I need assistance with following requirement, I am new to Unix. I want to do the following task but stuck with file creation date(sysdate) Following is the requirement I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies

9. AIX

How to find the details of Fonts on AIX?

Hi, Can someone help me out, how I can find the details of the Fonts installed on AIX, details such as the font type, directory, Non-Latin Fonts like Greek, Hebrew, or Arabic, starting with Arabic Objective: Oracle Reports creates PDF on AIX we want to use ARABIC Fonts which are... (1 Reply)
Discussion started by: filosophizer
1 Replies
pkgchk(1M)																pkgchk(1M)

NAME
pkgchk - check package installation accuracy SYNOPSIS
pkgchk [-l | -acfnqvx] [-i file] [-p path... | -P partial-path...] [-R root_path] [ [ -m pkgmap [-e envfile]] | pkginst... | -Y cate- gory,category...] pkgchk -d device [-l | -fv] [-i file] [-M] [-p path...] [-V fs_file] [pkginst... | -Y category[,category...]] pkgchk checks the accuracy of installed files or, by using the -l option, displays information about package files. pkgchk checks the integrity of directory structures and files. Discrepancies are written to standard error along with a detailed explanation of the problem. The first synopsis defined above is used to list or check the contents and/or attributes of objects that are currently installed on the system, or in the indicated pkgmap. Package names may be listed on the command line, or by default, the entire contents of a machine will be checked. The second synopsis is used to list or check the contents of a package which has been spooled on the specified device, but not installed. Note that attributes cannot be checked for spooled packages. The following options are supported: -a Audit the file attributes only and do not check file contents. Default is to check both. -c Audit the file contents only and do not check file attributes. Default is to check both. -d device Specify the device on which a spooled package resides. device can be a directory path name or the identifiers for tape, floppy disk, or removable disk (for example, /var/tmp or /dev/diskette). -e envfile Request that the package information file named as envfile be used to resolve parameters noted in the specified pkgmap file. -f Correct file attributes if possible. If used with the -x option, this option removes hidden files. When pkgchk is invoked with this option, it creates directories, named pipes, links, and special devices if they do not already exist. If the -d option calls out an uninstalled package, the -f option will only take effect if the package is in directory (not stream) format. All file attributes will be set to agree with the entries in the pkgmap file except that setuid, setgid, and sticky bits will not be set in the mode. -i file Read a list of path names from file and compare this list against the installation software database or the indicated pkgmap file. Path names which are not contained in file are not checked. -l List information on the selected files that make up a package. This option is not compatible with the -a, -c, -f, -g, and -v options. -m pkgmap Check the package against the package map file, pkgmap. -M Instruct pkgchk not to use the $root_path/etc/vfstab file for determining the client's mount points. This option assumes the mount points are correct on the server and it behaves consistently with Solaris 2.5 and earlier releases. -n Do not check volatile or editable files' contents. This should be used for most post-installation checking. -p path Check the accuracy only of the path name or path names listed. path can be one or more path names separated by commas (or by whitespace, if the list is quoted). -P partial-path Check the accuracy of only the partial path name or path names listed. partial-path can be one or more partial path names separated by commas (or by whitespace, if the list is quoted). This option can be used instead of -p and is not compatible with the other option. This option matches any path name that contains the string contained in the partial path. -q Quiet mode. Do not give messages about missing files. -R root_path Define the full 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. The root_path may be specified when installing to a client from a server (for example, /export/root/client1). Note - The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system. See zones(5). -v Verbose mode. Files are listed as processed. -V fs_file Specify an alternative fs_file to map the client's file systems. For example, used in situations where the $root_path/etc/vfstab file is non-existent or unreliable. -x Search exclusive directories, looking for files which exist that are not in the installation software database or the indi- cated pkgmap file. -Y category Check packages based on the value of the CATEGORY parameter stored in the installed or spooled package's pkginfo(4) file. pkginst The package instance or instances to be checked. The format pkginst.* can be used to check all instances of a package. The default is to display all information about all installed packages. 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 (); partial-path A portion of a path, such as a file or directory name. Example 1: Using pkgchk for Displaying Package Installation Information The following example displays package installation information for /usr/bin/ls: example% pkgchk -l -p /usr/bin/ls Example 2: Checking on Java Font Properties The following example displays package installation information for all Java font properties installed on the system. example% pkgchk -l -P font.properties 0 Successful completion. >0 An error occurred. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ pkginfo(1), pkgtrans(1), pkgadd(1M), pkgask(1M), pkgrm(1M), pkginfo(4), attributes( 5) 6 Apr 2005 pkgchk(1M)
All times are GMT -4. The time now is 01:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy