home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / windows / x / 21420 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.5 KB

  1. Path: sparky!uunet!gatech!prism!gt0449a
  2. From: gt0449a@prism.gatech.EDU (Rob Coleman)
  3. Newsgroups: comp.windows.x
  4. Subject: Re: An Xutil I'd like to see...
  5. Message-ID: <81124@hydra.gatech.EDU>
  6. Date: 21 Jan 93 17:55:43 GMT
  7. References: <1993Jan21.142100.25031@magnus.acs.ohio-state.edu>
  8. Organization: Georgia Institute of Technology
  9. Lines: 26
  10.  
  11. >I'd be willing to work on this myself, but I'm missing two things.
  12. >The first is time, but I suppose I could find that if I tried hard
  13. >enough.  The second is example source.  Namely, the source to xeyes
  14. >(with shape extensions) and a method for reading the instantaneous
  15. >load.  Being fairly new to X, I don't know where I might find these.
  16. >If someone could give me a hint or two, I might get these files and
  17. >look into just what this project would involve.
  18.  
  19. For the source, check this out:
  20.  
  21. Host toklab.ics.osaka-u.ac.jp
  22.  
  23.     Location: /X/X.V11R5/mit/demos
  24.       DIRECTORY drwxrwxr-x        512  Aug 27 1991  xeyes
  25.     Location: /X/X.V11R5/mit/demos/xeyes
  26.            FILE -r--r--r--       4112  Jul 19 1991  xeyes.c
  27.            FILE -r--r--r--       1463  Jul 30 1991  xeyes.man
  28.  
  29. The source for Xload is on export.lcs.mit.edu in
  30. /pub/R5untarred/mit/clients/xload, and it includes several ways to get
  31. the current load average on some systems.  The way that I do it (on
  32. Linux) is via the /proc filesystem.  Makes the code much less
  33. susceptible to change with kernel revisions.
  34. -- 
  35. Rob Coleman ][ gt0449a@prism.gatech.edu        ][  "I think I'm going bald!"
  36. Comp. Sci.  ][ Georgia Institute of Technology ][        -Rush/COS
  37.