~siretart/byobu/debian

« back to all changes in this revision

Viewing changes to bin/load-average

  • Committer: Reinhard Tartler
  • Date: 2009-06-05 13:27:13 UTC
  • mfrom: (350.1.136 byobu)
  • Revision ID: siretart@tauware.de-20090605132713-oau1avb5jtcffvlo
mergeĀ versionĀ 2.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
#    You should have received a copy of the GNU General Public License
18
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
19
 
 
20
if [ "$1" = "--detail" ]; then
 
21
        cat /proc/loadavg
 
22
        exit 0
 
23
fi
 
24
 
20
25
printf "\005{= Yk}%s\005{-} " $(cat /proc/loadavg | cut -d " " -f -1)