09-19-2011
Pretty much any command can be executed using sudo. Just depends on how it was implemented on your system.
10 More Discussions You Might Find Interesting
1. Cybersecurity
Hi Admins,
I have a Security question here. We have a bunch of users ( around 25) who needs to have sudo capabilities to run some jobs. I add them in the sudoers list, once confirmed their intention.
Now im having a headache, who is accessing another persons home directory and who is... (2 Replies)
Discussion started by: killerserv
2 Replies
2. Solaris
I am trying to set up sudo for a command, but do not want to specify the arguments that can be passed into it. I want the user who is using sudo to be able to pass in the arguments they want. I am fairly sure I know how to do this with RBAC in Solaris 10, but for reasons I will not get into I... (1 Reply)
Discussion started by: synchro
1 Replies
3. HP-UX
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies
4. AIX
How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies
5. UNIX for Advanced & Expert Users
Hello,
What does the below sudo command provide access to, does it allow a user to su to any other user except root.
sudo !/usr/bin/su * (1 Reply)
Discussion started by: sophos
1 Replies
6. UNIX for Dummies Questions & Answers
Hi! I'm very new to unix, so please keep that in mind with the level of language used if you choose to help :D Thanks!
When attempting to use sudo on and AIX machine with oslevel 5.1.0.0, I get the following error:
exec(): 0509-036 Cannot load program sudo because of the following errors:... (1 Reply)
Discussion started by: Chloe123
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Discussion started by: abhisheksunkari
2 Replies
8. Red Hat
I am wondering how to use SUDO command to allow only my account to run mount command as root. I have root privilege.:confused: (4 Replies)
Discussion started by: almirzaee
4 Replies
9. Shell Programming and Scripting
I am writing a BASH script to update a webserver and then restart Apache. It looks basically like this:
#!/bin/bash
rsync /path/on/local/machine/ foo.com:path/on/remote/machine/
ssh foo.com sudo /etc/init.d/apache2 reloadrsync and ssh don't prompt for a password, because I have DSA encryption... (9 Replies)
Discussion started by: fluoborate
9 Replies
10. Shell Programming and Scripting
hi,
can some one explain the sudo -n equivalent in AIX
Thanks
Venkat K (5 Replies)
Discussion started by: venky.b5
5 Replies
LEARN ABOUT DEBIAN
eventstat
EVENTSTAT(8) System Manager's Manual EVENTSTAT(8)
NAME
eventstat - a tool to measure system events.
SYNOPSIS
eventstat [-rcsv_file][-nevent_count][delay [count]]
DESCRIPTION
eventstat is a program that dumps the current active system events.
OPTIONS
eventstat options are as follow:
-h show help
-n event_count
only display the first event_count number of top events.
-q run quietly, only really makes sense with -r option.
-r csv_file
output gathered data in a comma separated values file. This can be then imported and graphed using your favourite open source spread
sheet.
-t threshold
ignore samples where the event delta per second less than the given threshold
EXAMPLES
Dump events every second until stopped.
sudo eventstat
Dump the top 20 events every 60 seconds until stopped.
sudo eventstat -n 20 60
Dump events every 10 seconds just 5 times.
sudo eventstat 10 5
SEE ALSO
powertop(8)
AUTHOR
eventstat was written by Colin King <colin.king@canonical.com>
This manual page was written by Colin King <colin.king@canonical.com>, for the Ubuntu project (but may be used by others).
June 13, 2012 EVENTSTAT(8)