home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 23767 < prev    next >
Encoding:
Text File  |  1993-01-12  |  1.4 KB  |  35 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!enterpoop.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!alsaggaf
  3. From: alsaggaf@athena.mit.edu (M. Saggaf)
  4. Subject: Re: A simple xload program using proc fs
  5. In-Reply-To: lederer@informatik.uni-bonn.de's message of 12 Jan 93 12:54:03 GMT
  6. Message-ID: <ALSAGGAF.93Jan12122612@marinara.mit.edu>
  7. Sender: news@athena.mit.edu (News system)
  8. Nntp-Posting-Host: marinara.mit.edu
  9. Organization: Massachusetts Institute of Technology
  10. References: <1993Jan12.125403.14817@olymp.informatik.uni-bonn.de>
  11. Date: Tue, 12 Jan 1993 17:26:24 GMT
  12. Lines: 21
  13.  
  14. >>>>> On 12 Jan 93 12:54:03 GMT, lederer@informatik.uni-bonn.de (Sebastian Lederer) said:
  15.  
  16.  
  17. SL> After some browsing in the X manuals I found that an xload program
  18. SL> using the proc filesystem would be very easy...so here is the
  19. SL> code. Hope some of you find it useful.  The resources used should
  20. SL> be the same as for the original xload.  Please mail
  21. SL> questions/improvements/patches to sebi@avatar.GUN.de
  22. SL>         
  23. SL>     topLevel = XtVaAppInitialize(&app_context,"Xload",NULL,0,&argc,
  24. SL>             argv,NULL,NULL);
  25.                                                    ^^
  26. Just a minor note: you may want to change the class name in the above
  27. from Xload to XLoad if you want it to be plug-compatible with the
  28. original xload.
  29.  
  30. Regards,
  31.  
  32. /Muhammad M. Saggaf                 | Stop the genocide
  33.  alsaggaf@athena.mit.edu            | Save Bosnia
  34.  
  35.