Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LabSpy.sh
README.md

README.md

LabSpy

Script runs on every PC in lab and monitors users CPU usage. Before starting the script you should be logged on one of lab computers.

Options:

Each time you can use only one option. Depending on what you want to do.

    -start [interval in seconds]
            Starts the script on every lab PC and in a given interval
            (default 5sec) refreshes the [PcName].Res results.
    
    -result [active]
            Prints username and his CPU Usage sorted by Usage
            in descending order.
            Also creates file Result[DATE] which contains the same result.
            -result active: Prints only users with nonzero usage.
    
    -stop
            Stops the script on every lab PC.
    
    -clear
            Deletes all [PcName] files created by -start option.
You can’t perform that action at this time.