- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lsof on (RISC) HP-UX 11.23
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 08:00 PM
02-22-2006 08:00 PM
I have a new RP8420 and want to load lsof on it, but am unable to locate a binary for it.
So I downloaded the source and attempted to compile it, but there is a compilation error.
Could anyone direct me to the lsof binary for 11.23 or alternatively assist with the compile error?
The error is:
(cd lib; make DEBUG="-O" CFGF="-DHAS_CONST -DHPUXV=1123 -D_PSTAT64 -DHASIPv6 -DLSOF_VSTR=\"B.11.23\"")
ar cr liblsof.a ckkv.o cvfs.o dvch.o fino.o isfn.o lkud.o pdvn.o prfp.o ptti.o rdev.o regex.o rmnt.o rnam.o rnch.o rnmh.o snpf.o
/usr/local/bin/gcc -DHAS_CONST -DHPUXV=1123 -D_PSTAT64 -DHASIPv6 -DLSOF_VSTR=\"B.11.23\" -O -c print.c
print.c: In function 'fill_portmap':
print.c:228: error: dereferencing pointer to incomplete type
print.c:228: error: dereferencing pointer to incomplete type
print.c:229: error: dereferencing pointer to incomplete type
*** Error exit code 1
print.c:
224 * Save the registration name or number.
225 */
226 cp = (char *)NULL;
227 if ((r = (struct rpcent *)getrpcbynumber(p->pml_map.pm_prog)
)) {
228 if (r->r_name && strlen(r->r_name))
229 cp = r->r_name;
230 }
231 if (!cp) {
232 (void) snpf(buf, sizeof(buf), "%lu",
233 (unsigned long)p->pml_map.pm_prog);
234 cp = buf;
235 }
236 if (!strlen(cp))
237 continue;
Many thanks,
Mike.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 08:03 PM
02-22-2006 08:03 PM
SolutionHere is it, 4.76 RISC version for 11.23
http://hpux.connect.org.uk/hppd/hpux/Sysadmin/lsof-4.76/
http://hpux.connect.org.uk/ftp/hpux/Sysadmin/lsof-4.76/lsof-4.76-hppa-11.23.depot.gz
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 08:05 PM
02-22-2006 08:05 PM
Re: lsof on (RISC) HP-UX 11.23
If you want to compile your own "lsof", here is a Readme for Installation.. Pay attention to files changed
http://hpux.connect.org.uk/hppd/cgi-bin/wwwtar?/hpux/Sysadmin/lsof-4.76/lsof-4.76-src-11.11.tar.gz+lsof-4.76/HPUX.Install+text
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2006 08:57 PM
02-22-2006 08:57 PM
Re: lsof on (RISC) HP-UX 11.23
http://hpux.cs.utah.edu/hppd/cgi-bin/search?package=on&description=on&term=lsof
Two versions are available there.
See more informations from it's HOME url as,
ftp://vic.cc.purdue.edu/pub/tools/unix/lsof/
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 11:07 AM
02-23-2006 11:07 AM
Re: lsof on (RISC) HP-UX 11.23
I have downloaded the binary and it is working.
My google searches unfortunately did not pick up these sites, so I have now bookmarked them!