eho@cognito.Princeton.EDU (Eric Ho) (07/09/89)
Did anyone encounter any strangeness in loadst (from GNU Emacs) under SunOS 4.0.1 ? I've just recently got a copy of Emacs 18.54 from prep and built it under 4.0.1 -- it was just a straight foward built (using build-install) and I'm just using a GENERIC 4.0.1 kernel. The strange thing is that while at root everything is fine but when not as root, loadst refuses to give the load-average values whether I'm typing loadst from shell or use it in Emacs. I'm just using csh in both cases so I don't it has anything to do with csh or the various settings in my .cshrc/.login files. Also, is Emacs's shell.el only geared towards sh or csh as subshells ? I often encountered the extra ^M's at the end of lines when I want to use a different shell within Emacs. Any pointers ? -- Eric Ho Cognitive Science Lab., Princeton University voice = 609-987-2819 (x2987) email = eho@confidence.princeton.edu eho@bogey.princeton.edu regards. -eric-
kayvan@mrspoc.transact.com (Kayvan Sylvan) (07/10/89)
loadst has to read /dev/kmem, which is often in a priviledged group (kmem on most BSD type systems and sysinfo on some System V and Xenix systems). Try making loadst a setgid program in the proper group and that should take care of your problem. ---Kayvan Kayvan Sylvan @ Transact Software, Inc. -*- Mountain View, CA (415) 961-6112 Internet: kayvan@Transact.COM -*- UUCP: ...!{apple,pyramid,mips}!mrspoc!kayvan