Sponsored Content
Operating Systems Solaris List of only registered applications on solaris machine Post 302879992 by omkar.jadhav on Tuesday 17th of December 2013 04:31:16 AM
Old 12-17-2013
List of only registered applications on solaris machine

Hi All,

I am trying to fetch a list which will give only the registred applications installed on soalris box.I want to exclude rest evrything..like drivers,database related packages and the list should contains pure application related packages installed on solaruis machine.

i am using below command to narrow down the search:
Code:
 
pkginfo -lc application | /usr/xpg4/bin/grep -e 'NAME:' -e 'CATEGORY:'

is this the correct approach or can someone suggest me better way to do this.

---------- Post updated at 04:31 AM ---------- Previous update was at 04:08 AM ----------
 

7 More Discussions You Might Find Interesting

1. AIX

How can invoke applications on Windows machine from AIX server

Hi folks, Before I start explaning my problem let me tell you I am new to Unix environment. I am working on a application. It was developed in java (on Windows machine). But application for production will be deployed on AIX machine. One of my requirement is I need to invoke QTP scripts and... (3 Replies)
Discussion started by: sachinrt
3 Replies

2. Solaris

Best possible communication mechanism between a Solaris machine and a windows machine

hi, I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this. the constraints are > the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies

3. Programming

Fetch running applications list in Linux

Hi, I need to write a code which will fetch all the application activity on user computers including app name, time of day, duration, version, etc. Using this I need to know which applications are running currently in user's computers. How can it be done programmatically? I need to write the... (1 Reply)
Discussion started by: arunarora
1 Replies

4. IP Networking

RSH to Ubuntu machine from Solaris machine?

This is probably really basic compared to what you guys are usually talking about here, but I have a problem and I have no idea what to do about it. I try to RSH to my Ubuntu computer from my Solaris one and run into a dead end: >> rsh 192.168.1.103 ::ffff:192.168.1.103: Connection timed out... (4 Replies)
Discussion started by: Bradj47
4 Replies

5. UNIX for Dummies Questions & Answers

Script to list applications in alphabetical order

I've looking over a script for work and I've had a problem with the script not listing the files in alphabetical order. To look up PIDs for apps, it would be beneficial to have them listed in that order. Here is what I've been reviewing. #!/usr/bin/perl $str = sprintf "%4s %-40s", "PID",... (7 Replies)
Discussion started by: whysolucky
7 Replies

6. AIX

List of installed applications

Hi All, I am new bee in AIX and i am trying to list out installed packages on any AIX machine in below format: packagename:<application/package name> ; <application/package version> ; <application/package vendor> can some one please suggest small script which will use lslpp and provide... (5 Replies)
Discussion started by: omkar.jadhav
5 Replies

7. Solaris

Building X11 applications on Solaris 10

Hi all, I'm trying to verify that I can build x applications on Solaris 10 and am using xcalc & xeyes as my test applications: git://anongit.freedesktop.org/xorg/app/xcalc git://anongit.freedesktop.org/xorg/app/xeyes Running autogen.sh on this fails with: error: must install xorg-macros... (7 Replies)
Discussion started by: testers1717
7 Replies
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)
All times are GMT -4. The time now is 01:27 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy