- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: installation of GNU top
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
Discussions
Discussions
Forums
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
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
тАО03-23-2008 08:40 PM
тАО03-23-2008 08:40 PM
installation of GNU top
I had tried the GNU top (top-3.6.1) depot package (HP-UX 11i v3). In during porcess of installation i got the ERROR messages:
ERROR: Unknown owner and/or group for file "/usr/local/bin/top". SUID and/or SGID bit was not set.
After installation i tried to execute /usr/local/bin/top:
# /usr/local/bin/top
/dev/kmem: reading mpid: Bad address
I saw:
# ls -l /dev/kmem
crw-r----- 1 bin sys 3 0x000001 Mar 13 2007 /dev/kmem
# ls -l /usr/local/bin/top
-rwxr-xr-x 1 root sys 141588 Oct 19 17:10 /usr/local/bin/top
I changed mode of file:
# chmod 2755 /usr/local/bin/top
And i executed:
# /usr/local/bin/top
/dev/kmem: reading mpid: Bad address
The ERROR stayed.
How i can remove cause of ERROR? Why did ERROR happen during installation process?
- Tags:
- top
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2008 10:15 PM
тАО03-23-2008 10:15 PM
Re: installation of GNU top
>changed mode of file:
# chmod 2755 /usr/local/bin/top
This sets the SGUI. You need chmod u+s,g-s.
Compare to /usr/bin/top.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2008 10:36 PM
тАО03-23-2008 10:36 PM
Re: installation of GNU top
# dmesg| grep Physical
Physical: 8368188 Kbytes, lockable: 6099064 Kbytes, available: 6927468 Kbytes
i.e. the physical memory is 8368188 Kbytes, whereas /usr/bin/top shows:
Memory: 238668K (78820K) real, 463036K (161672K) virtual, 6481420K free Page# 1/5
>>Compare to /usr/bin/top.
# ls -l /usr/bin/top
-r-xr-xr-x 1 bin bin 145176 Feb 16 2007 /usr/bin/top
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2008 10:49 PM
тАО03-23-2008 10:49 PM
Re: installation of GNU top
You can also get this from SAM.
>-r-xr-xr-x bin ... /usr/bin/top
It appears your foreign devil top wants to use SUID to do its work. Is this something you trust?
Did you try "chmod u+s,g-s"?
- Tags:
- foreign devil tools
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2008 10:59 PM
тАО03-23-2008 10:59 PM
Re: installation of GNU top
you can also try glance.
e.g.
SRV2:home/yogeeraj>glance -m
..
--------------------------------------------------------------------------------
MEMORY REPORT Users= 2
Event Current Cumulative Current Rate Cum Rate High Rate
--------------------------------------------------------------------------------
Page Faults 58 58 82.8 82.8 82.8
Page In 24 24 34.2 34.2 34.2
Page Out 0 0 0.0 0.0 0.0
KB Paged In 0kb 0kb 0.0 0.0 0.0
KB Paged Out 0kb 0kb 0.0 0.0 0.0
Reactivations 0 0 0.0 0.0 0.0
Deactivations 0 0 0.0 0.0 0.0
KB Deactivated 0kb 0kb 0.0 0.0 0.0
VM Reads 0 0 0.0 0.0 0.0
VM Writes 0 0 0.0 0.0 0.0
Total VM : 1.20gb Sys Mem : 728.8mb User Mem: 450.3mb Phys Mem: 8.00gb
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2008 11:56 PM
тАО03-23-2008 11:56 PM
Re: installation of GNU top
Is it proprietary/commercial software?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2008 12:11 AM
тАО03-24-2008 12:11 AM
Re: installation of GNU top
I havn't found this in my SMH (11i v3).
>>It appears your foreign devil top wants to use SUID to do its work. Is this something you trust?
I need to watch using of physical memory. :)
>>Did you try "chmod u+s,g-s"?
# chmod u+s,g-s /usr/local/bin/top; ls -l /usr/local/bin/top
-rwsr-xr-x 1 root sys 141588 Oct 19 17:10 /usr/local/bin/top
And:
# /usr/local/bin/top
/dev/kmem: reading mpid: Bad address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2008 12:53 AM
тАО03-24-2008 12:53 AM
Re: installation of GNU top
which version of HP-UX are you running? What type of installation is this?
revert
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2008 01:29 AM
тАО03-24-2008 01:29 AM
Re: installation of GNU top
>Is it proprietary/commercial software?
Yes. There is a trial version of glance with HP-UX.
>I haven't found this in my SMH (11i v3).
Under SAM it was under Performance.
>-rwsr-xr-x 1 root sys /usr/local/bin/top
># /usr/local/bin/top
/dev/kmem: reading mpid: Bad address
Ok, it doesn't work anyway.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2008 01:44 AM
тАО03-24-2008 01:44 AM
Re: installation of GNU top
# uname -a
HP-UX ... B.11.31 U ia64 2021222857 unlimited-user license
#
# model
ia64 hp server rx2660
#
# machinfo
...
OS info:
...
Release: HP-UX B.11.31
Version: U (unlimited-user license)
Machine: ia64
...
vmunix _release_version:
@(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf