Sponsored Content
Operating Systems Solaris top package not working sometimes Post 302214429 by incredible on Monday 14th of July 2008 04:03:00 AM
Old 07-14-2008
you used this: top.3.5b8.SPARC.64bit.Solaris.8.pkg.tgz ?
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

TOP not working

Hi, I am using solaris 5.8. When I am using top command with my UNIX userid it says "ksh: top: not found". Its working fine with the oracle id. What should I do if I need to user TOP and SAR utilities with my UNIX id? What are the prerequisites for this? Please explain. Regards,... (1 Reply)
Discussion started by: malaymaru
1 Replies

2. Linux

how to restore original package after uninstalling the upgraded package using rpm

have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that... (0 Replies)
Discussion started by: amitpansuria
0 Replies

3. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

4. AIX

Need a list of top 10 CPU using processes (also top 10 memory hogs, separately)

Okay, I am trying to come up with a multi-platform script to report top ten CPU and memory hog processes, which will be run by our enterprise monitoring application as an auto-action item when the CPU and Memory utilization gets reported as higher than a certain threshold I use top on other... (5 Replies)
Discussion started by: thenomad
5 Replies

5. AIX

mkinstallp package creation failing "no such file: ./usr/lpp/<package name>/inst_root"

Hello, I'm trying to build a (bff) package from an already installed program (clam antivirus) using mkinstallp. However, mkinstallp fails with "no such file: ./usr/lpp/<package name>/inst_root" I'm not sure why all files get created ok except for these particular ones. Any help would be... (2 Replies)
Discussion started by: omonte
2 Replies

6. UNIX for Advanced & Expert Users

How to find dependancies of .dstream package (Solaris) & .rpm package( linux)

Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ? (0 Replies)
Discussion started by: yb4779
0 Replies

7. UNIX for Dummies Questions & Answers

Can't install rpm package with --prefix in new path.Error: package is not relocatable

Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205... (1 Reply)
Discussion started by: g_p
1 Replies

8. Emergency UNIX and Linux Support

Problem when trying to remove a package using rpm command - error: package is not installed

Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can... (4 Replies)
Discussion started by: g_p
4 Replies

9. Ubuntu

Top output to textfile not working in cronjob

Hello, If i run the following script from the cmdline it works just fine however if i run it via root cronjob it doesn't write to the file at all. It is chmod 777 now so shouldnt be any right issues. Shellscript looks like this: /usr/bin/top -b -n 1 -u nagios >> /var/log/test.log Cronjob... (7 Replies)
Discussion started by: heady89
7 Replies
PKG_ADMIN(1)						    BSD General Commands Manual 					      PKG_ADMIN(1)

NAME
pkg_admin -- perform various administrative tasks to the pkg system SYNOPSIS
pkg_admin [-bqSVv] [-C config] [-d lsdir] [-K pkg_dbdir] [-s sfx_pattern] command [args ...] DESCRIPTION
This command performs various administrative tasks around the NetBSD Packages System. OPTIONS
The following command-line options are supported: -b Print only the base names when matching package names for lsall and lsbest. -C config Read the configuration file from config instead of the system default. -d lsdir Set lsdir as the path to the directory in which to find matching package names for lsall and lsbest. -K pkg_dbdir Override the value of the PKG_DBDIR configuration option with the value pkg_dbdir. -q Perform checks in a quiet manner. In normal operation, pkg_admin prints a '.' to standard output to indicate progress. This option suppresses this progress indicator. -S Set the shell glob pattern for package suffixes when matching package names for lsall and lsbest to be the null suffix. -s sfx_pattern Set the shell glob pattern for package suffixes when matching package names for lsall and lsbest. The default pattern is ".t[bg]z". -V Print version number and exit. -v Be more verbose. The following commands are supported: add pkg ... For each listed package, write the absolute pathnames of the files listed in its +CONTENTS file together with the package they belong to into the package database. This should be used only by pkg_view(1). audit [-es] [-t type] [pkg] ... Check the listed installed packages for vulnerabilities. If no package is given, check all installed packages. If -e is given, override the CHECK_END_OF_LIFE option from pkg_install.conf(5) with "yes". If -s is given, check the signature of the pkg-vulnera- bilities file before using it. -t restricts the reported vulnerabilities to type type. audit-pkg [-es] [-t type] [pkg] ... Like audit, but check only the given package names or patterns. audit-batch [-es] [-t type] [pkg-list] ... Like audit-pkg, but read the package names or patterns one per line from the given files. audit-history [-s] [-t type] [pkgbase] ... Print all vulnerabilities for the given base package names. check [pkg ...] Use this command to check the files belonging to some or all of the packages installed on the local machine against the checksum which was recorded in the +CONTENTS files at package installation time. Symbolic links also have their integrity checked against the recorded value at package installation time. If no additional argument is given, the files of all installed packages are checked, else only the named packages will be checked (wildcards can be used here, see pkg_info(1)). The packages' +CONTENTS files will be parsed and the checksum will be checked for every file found. A warning message is printed if the expected checksum differs from the checksum of the file on disk. Symbolic links are also checked, ensuring that the targets on disk are the same as the contents recorded at package installation time. check-license condition Check if condition can be fulfilled with the currently set of accepted licenses. Prints either yes or no to stdout if the condition can be parsed, otherwise it exits with error. check-pkg-vulnerabilities [-s] file Check format and hashes in the pkg-vulnerabilities file file. If -s is given, also check the embedded signature. check-signature file ... Reports if file is a correctly signed package. check-single-license license Check if license is a valid license name and if it is in the set of acceptable licenses. Prints either yes or no to stdout if the condition can be parsed, otherwise it exits with error. config-var variable Print the current value of variable as used after parsing the configuration file. delete pkg ... For each listed package, remove all file entries in the package database that belong to the package. This should be used only by pkg_view(1). dump Dump the contents of the package database, similar to pkg_info -F. Columns are printed for the key field used in the pkgdb - the filename -, and the data field - the package the file belongs to. fetch-pkg-vulnerabilities [-su] Fetch a new pkg-vulnerabilities file, check the format and if -s is given the signature. If all checks are passed, write it to pkgdb. If -u is given, the fetch is conditional and the file transfer is only done if the remote version is newer than the one in pkgdb. findbest pattern ... Search the entries of PKG_PATH for packages matching pattern. Print the URL of the best matching package to stdout for each pattern. If a pattern is not matched, it is skipped and the command will return a failure. lsall /dir/pkgpattern lsbest /dir/pkgpattern List all/best package matching pattern in the given directory /dir. If the -d flag is given, then that directory path overrides /dir. Can be used to work around limitations of /bin/sh and other filename globbing mechanisms. This option implements matching of pkg-wildcards against arbitrary files and directories, useful mainly in the build system itself. See pkg_info(1) for a description of the pattern. Example: yui# cd /usr/pkgsrc/packages/i386ELF/All/ yui# ls unzip* unzip-5.40.tgz unzip-5.41.tgz yui# pkg_admin lsall 'unzip*' /usr/pkgsrc/packages/i386ELF/All/unzip-5.40.tgz /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz yui# pkg_admin lsall 'unzip>=5.40' /usr/pkgsrc/packages/i386ELF/All/unzip-5.40.tgz /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz yui# pkg_admin lsall 'unzip>=5.41' /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz yui# pkg_admin lsbest 'unzip>=5.40' /usr/pkgsrc/packages/i386ELF/All/unzip-5.41.tgz yui# pkg_admin lsall /usr/pkgsrc/packages/i386ELF/All/'{mit,unproven}-pthread*' /usr/pkgsrc/packages/i386ELF/All/mit-pthreads-1.60b6.tgz /usr/pkgsrc/packages/i386ELF/All/unproven-pthreads-0.15.tgz pmatch pattern pkg Returns true if pkg matches pattern, otherwise returns false. rebuild Rebuild the package database mapping from scratch. This option is only intended for recovery after system crashes during package installation and removal. rebuild-tree Rebuild the +REQUIRED_BY files from scratch by reresolving all dependencies. This option is intended to be used for fixing inconsistencies between the records of depending and depended-on packages, such as can arise by the use of pkg_delete -f. set variable=value pkg ... Set variable with information about the installed package. Use unset to remove a variable. Packages that are not installed directly by the user but pulled in as dependencies are marked by setting ``automatic=YES''. gpg-sign-package pkg spkg Sign the binary package pkg using GPG and write the result to spkg. x509-sign-package pkg spkg key cert Sign the binary package pkg using the key key and the certificate cert, using spkg as output file. unset variable pkg ... Remove an installation variable. ENVIRONMENT
See pkg_install.conf(5) for options, that can also be specified using the environment. FILES
/var/db/pkg/pkgdb.byfile.db /var/db/pkg/<pkg>/+CONTENTS SEE ALSO
pkg_add(1), pkg_create(1), pkg_delete(1), pkg_info(1), pkg_view(1), pkg_install.conf(5), pkgsrc(7) HISTORY
The pkg_admin command first appeared in NetBSD 1.4. AUTHORS
The pkg_admin command was written by Hubert Feyrer. BSD
June 16, 2010 BSD
All times are GMT -4. The time now is 05:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy