Thanks, Dimitri. I followed your proposed Option 1. It worked as I expected.
On 05/17/2013 04:46 PM, Zhe Zhang wrote:
...What I prefer is that the cron job checks the bandwidth when startd launches.
Option 1: write your check in C, compile it, make it suid root.
Option 2: in linux device files are usually owned by specific groups. If that's the case, add the user who runs the script to the group that owns the device.
If you're looking for network link speed: Option 3: $ ethtool eth0 | grep Speed Cannot get wake-on-lan settings: Operation not permitted Speed: 1000Mb/s
works here as regular user.
HTH, -- Dimitri Maziuk Programmer/sysadmin BioMagResBank, UW-Madison -- http://www.bmrb.wisc.edu
_______________________________________________ HTCondor-users mailing list To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a subject: Unsubscribe You can also unsubscribe by visiting https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at: https://lists.cs.wisc.edu/archive/htcondor-users/
------------------------------------------------
Zhe Zhang Department of Computer Science and Engineering University of Nebraska-Lincoln Lincoln, NE, 68588
|