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
Locale::Codes::LangFam(3pm)				 Perl Programmers Reference Guide			       Locale::Codes::LangFam(3pm)

NAME
Locale::Codes::LangFam - standard codes for language extension identification SYNOPSIS
use Locale::Codes::LangFam; $lext = code2langfam('apa'); # $lext gets 'Apache languages' $code = langfam2code('Apache languages'); # $code gets 'apa' @codes = all_langfam_codes(); @names = all_langfam_names(); DESCRIPTION
The "Locale::Codes::LangFam" module provides access to standard codes used for identifying language families, such as those as defined in ISO 639-5. Most of the routines take an optional additional argument which specifies the code set to use. If not specified, the default ISO 639-5 language family codes will be used. SUPPORTED CODE SETS
There are several different code sets you can use for identifying language families. A code set may be specified using either a name, or a constant that is automatically exported by this module. For example, the two are equivalent: $lext = code2langfam('apa','alpha'); $lext = code2langfam('apa',LOCALE_LANGFAM_ALPHA); The codesets currently supported are: alpha This is the set of three-letter (lowercase) codes from ISO 639-5 such as 'apa' for Apache languages. This is the default code set. ROUTINES
code2langfam ( CODE [,CODESET] ) langfam2code ( NAME [,CODESET] ) langfam_code2code ( CODE ,CODESET ,CODESET2 ) all_langfam_codes ( [CODESET] ) all_langfam_names ( [CODESET] ) Locale::Codes::LangFam::rename_langfam ( CODE ,NEW_NAME [,CODESET] ) Locale::Codes::LangFam::add_langfam ( CODE ,NAME [,CODESET] ) Locale::Codes::LangFam::delete_langfam ( CODE [,CODESET] ) Locale::Codes::LangFam::add_langfam_alias ( NAME ,NEW_NAME ) Locale::Codes::LangFam::delete_langfam_alias ( NAME ) Locale::Codes::LangFam::rename_langfam_code ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangFam::add_langfam_code_alias ( CODE ,NEW_CODE [,CODESET] ) Locale::Codes::LangFam::delete_langfam_code_alias ( CODE [,CODESET] ) These routines are all documented in the Locale::Codes::API man page. SEE ALSO
Locale::Codes The Locale-Codes distribution. Locale::Codes::API The list of functions supported by this module. http://www.loc.gov/standards/iso639-5/id.php ISO 639-5 . AUTHOR
See Locale::Codes for full author history. Currently maintained by Sullivan Beck (sbeck@cpan.org). COPYRIGHT
Copyright (c) 2011-2012 Sullivan Beck This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.16.2 2012-10-11 Locale::Codes::LangFam(3pm)
All times are GMT -4. The time now is 11:28 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy