Sponsored Content
Operating Systems Solaris How to install pkg lsof in Solaris 11? Post 302975501 by jim mcnamara on Tuesday 14th of June 2016 10:02:35 AM
Old 06-14-2016
Your system may have GNU utilities ( lsof is one) somewhere special.
Try the command:
Code:
which gawk

This will probably fail because your PATH variable is wrong.
So then try
Code:
find /usr -type f -name lsof

Example output might be:
Code:
/usr/sfw/bin/gawk

gawk is a GNU version of awk for Solaris - pick something else if you know one. like ggrep ...

Following this example then you would use this command:
Code:
ls -l  /usr/sfw/bin/gawk

Do you know where GNU coreutils and friends are on your Solaris system? lsof is in there.

Last edited by jim mcnamara; 06-14-2016 at 11:07 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

lsof in solaris

Hi .. I have written a cronjob to invoke a script that would transfer files based on some criteria. Consider folders A and B. Say I FTP a large file to A. Before the file gets fully transfered say the cronjob gets invoked. The script will move the file before its fully transfered. To detect... (1 Reply)
Discussion started by: champak
1 Replies

2. Solaris

Install pkg "SUNWxglrt" Solaris 10

Please, help me!!! I need install this pkg (SUNWxglrt) in Solaris 10 x86, but I've not found on DVD or internet. What do I do????? This pkg exists??? (p.s.- I sorry my English if mistake anythings. I Brazilian and have problems with English). (2 Replies)
Discussion started by: Victor_Neto
2 Replies

3. Solaris

Install Solaris pkg via web

here's a link shows how to install pkgs directly via http sat.lksf_sat_pkgweb.tex - Less known Solaris Features - wikis.sun.com (0 Replies)
Discussion started by: h@foorsa.biz
0 Replies

4. Solaris

How to install sun-python26.pkg

how to install sun-python26.pkg in solaris 10 with webstack? where i can find this file ? (1 Reply)
Discussion started by: yanto85
1 Replies

5. UNIX for Advanced & Expert Users

Linux column(1) from util-linux-ng for Solaris? Which *.pkg to install?

Hi On Linux systems there is a command called "column". column - columnate lists Synopsis column -tx] -c columns] -s sep] file ...] Description The column utility formats its input into multiple columns. Rows are filled before columns. Input is taken from file operands, or,... (3 Replies)
Discussion started by: slashdotweenie
3 Replies

6. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

7. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

8. Solaris

Solaris 11 pkg update question

Hi, I am trying to update my Solaris 11 system's Java 7 version to 1.7.0.65. I tried to do a pke update, and it only updated it to version 60. When I do a pkg list or search, i can see 65 is available but it wont update to it. I am getting this error, and I do not know how to get... (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies

9. Solaris

# pkg publisher gives bash: pkg: command not found

This is the operating system im using Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC I need to install some packages by setting local repository While i run the below command # pkg publisher command returns bash: pkg: command not found while looking for /usr/bin/pkg i get bash:... (2 Replies)
Discussion started by: babinlonston
2 Replies

10. Solaris

PKG install from Solaris 11.2 text installer DVD

Sorry if this has been already answered. The solaris 11 IPS is frustrating me. I want to install a package group from the 11.2 ( in this case) Text Installer DVD. 1) is this possible? 2) if yes, how do I set the publisher to point the dvd mount point /media/Oracle_Solaris-11_2-Text-Sparc... (1 Reply)
Discussion started by: mrmurdock
1 Replies
which-pkg-broke(1)						  debian-goodies						which-pkg-broke(1)

NAME
which-pkg-broke - find which package might have broken another SYNOPSIS
which-pkg-broke package DESCRIPTION
The which-pkg-broke program will retrieve a list of the named package and all its dependencies sorted by the time they were installed on the system (as determined from the mtime information of /var/lib/dpkg/info/*.list . This tool makes it possible for a system admin to obtain information that might correlate installation of package dependencies with a pack- age breakage in order to find which package update might be responsible for the breakage. EXAMPLES
This tool can be useful determine which package dependencies were upgraded more recently and might be associated with the bug that is being observed. For example, if aptitude stops working properly, an administrator can run: $ which-pkg-broke aptitude Package <libapt-pkg-libc6.3-5-3.3> has no install time info libdb1-compat Fri Aug 8 03:02:11 2003 libsigc++-1.2-5c102 Fri Aug 8 05:15:58 2003 aptitude Sun Jan 11 17:38:06 2004 libncurses5 Sun Jan 18 08:11:05 2004 libc6 Thu Jan 22 07:55:10 2004 libgcc1 Tue Jan 27 07:37:22 2004 gcc-3.3-base Tue Jan 27 07:37:31 2004 libstdc++5 Tue Jan 27 07:37:32 2004 So depending on exactly when the misbehaviour started, there may be a reason to point the finger at a more-recently updated library like libstdc++ or libncurses, which are more-recently installed than aptitude itself. SEE ALSO
rc-alert(1) AUTHOR
which-pkg-broke was written by Bill Gribble <grib AT billgribble.com> This manual page was written by Javier Fernandez-Sanguino for the Debian GNU/Linux distribution. debian-goodies July 24 2006 which-pkg-broke(1)
All times are GMT -4. The time now is 02:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy