This is a discussion on legato: runnning nsrls as non-root user within the comp.unix.solaris forums, part of the Solaris Operating System category; --> This seems to be the most relevant group. Apologies if not. Im trying to gather the stats that /usr/sbin/nsr/nsrls ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| This seems to be the most relevant group. Apologies if not. Im trying to gather the stats that /usr/sbin/nsr/nsrls produces. Ive seen a BMC Knowledge module which somehow gathers the metrics running as a non root user. nsrls as root prints: /export/home/index/host1: 11295 records requiring 1944 KB /export/home/index/host1 is currently 100% utilized as non root: nsrls: SYSTEM error: Cannot lock file index for client 'host1' (Bad file number) Any ideas how I can get these stats as a non root user? Cheers |
| |||
| In article <216ce6b5.0311121703.50d7040d@posting.google.com >, tellmemore@hotmail.com (Craig) wrote: > This seems to be the most relevant group. Apologies if not. > > Im trying to gather the stats that /usr/sbin/nsr/nsrls produces. > > Ive seen a BMC Knowledge module which somehow gathers the metrics > running as a non root user. > > nsrls as root prints: > /export/home/index/host1: 11295 records requiring 1944 KB > /export/home/index/host1 is currently 100% utilized > > as non root: > nsrls: SYSTEM error: Cannot lock file index for client 'host1' (Bad > file number) > > Any ideas how I can get these stats as a non root user? My SWAG, you can't. It may open sockets to ports that require root privilege. To verify, try a truss and see what it does under root. Then the same as non-root. -- DeeDee, don't press that button! DeeDee! NO! Dee... |
| ||||
| tellmemore@hotmail.com (Craig) wrote in message news:<216ce6b5.0311121703.50d7040d@posting.google. com>... > This seems to be the most relevant group. Apologies if not. > > Im trying to gather the stats that /usr/sbin/nsr/nsrls produces. > > Ive seen a BMC Knowledge module which somehow gathers the metrics > running as a non root user. > > nsrls as root prints: > /export/home/index/host1: 11295 records requiring 1944 KB > /export/home/index/host1 is currently 100% utilized > > as non root: > nsrls: SYSTEM error: Cannot lock file index for client 'host1' (Bad > file number) > > Any ideas how I can get these stats as a non root user? > > Cheers set up sudo and run visudo to edit the file, add the username that you want to be able to execute the executable, use the full path for the nsrls file.. sharona |