1: /*
   2:  * la: print the load average.
   3:  */
   4: main()
   5: {
   6:     double vec[3];
   7: 
   8:     if (getloadavg(vec, 3) < 0) {
   9:         perror("la: getloadavg");
  10:         exit(1);
  11:     }
  12:     printf("load %.02f %.02f %.02f\n", vec[0], vec[1], vec[2]);
  13:     exit(0);
  14: }

Defined functions

main defined in line 4; never used
Last modified: 1995-01-17
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2353
Valid CSS Valid XHTML 1.0 Strict