|
2000/8/19-21 [Computer/SW/OS/Linux, Computer/SW/Unix] UID:19041 Activity:moderate |
8/18 I want to build a CPU load monitor a la the BeBox. Basically its a string of leds that light up depending on the current load. Any ideas where I should start looking for information on building this thing? \_ What platform? If Unix, there are already tons of similar utilities -- search freshmeat for "load monitor", select the one you like most or change the source if you want your own eye candy. \_ i'm looking for something that controls actual leds via a serial port or something. via a serial port or something. Its for my Linux machine. \_ http://metalab.unc.edu/pub/Linux/system/status/led-stat.txt and other files in the same directory \_ thanks, this was exactly what I wanted. |
2000/8/19 [Uncategorized] UID:19042 Activity:nil 66%like:17851 75%like:19619 |
8/18 /dev/da0e 1270240 1163640 4981 100% /var/mail \_ suckage \_ TJB, Get off my dic^Hsk! |
2000/8/19-21 [Computer/SW/Unix] UID:19043 Activity:kinda low |
8/18 Data problem: I'm working in MATLAB v.5 (in UNIX) I need to transfer a matrix that I computed in MATLAB into EXCEL. How do I do that? I tried saving using "matrix_name -ASCII", then I ftp to the desktop and tried to have excel read and I get gibberish. Please e-mail or post. This bugging the shit out of me and I need to solve this problem soon. -fab PS I tried using Stat transfer and it also give gibberish. \_ Don't use MATLAB! Use Mathcad or Mathematica with the matrices graphically written out for you! \_ You are right,MATLAB blows. But I'm stuck with data I have in MATLAB. I also don't have access to M/matica right now. -fab, who is lame and knows it \_ help dlmwrite -brg \_ Don't use MATLAB! Use Mathcad or Mathematica with the matrices graphically written out for you! \_ You are right,MATLAB blows. But I'm stuck with data I have in MATLAB. I also don't have access to M/matica right now. -fab, who is lame and knows it \_ I'm pretty sure there's a way to write matrices to an ASCII file but my MATLAB CD is in the office. \_ Take a look at ~emin/save_matrix.m. This is a simple function to save a matrix as tab delimited data using fprintf. Since it's a function you can easily modify it to do comma separated format or whatever you want. -emin |
2000/8/19-21 [Uncategorized] UID:19044 Activity:nil |
8/19 When I run ps, I see this process: STAT TIME COMMAND --snip-- IEs+ 0:00.00 (ntcsh) It is from a connection that timed out, so I'd like to kill it. However, when I run kill -9 <pid>, it doesn't work. Any ideas? \_ Look for the pid of the controlling tty and send it a HUP. \_ ntcsh is the login shell of that particular session though. Or is the controlling tty something else? If it is, how do I find it? |
2000/8/19-21 [Computer/SW/Languages/Java] UID:19045 Activity:nil 70%like:19029 |
8/17 By default, does JDK1.2.2 run w/ JIT, or there is a flag to give? \_-Djava.compiler=shujit this is an example. \_ No jit by default on most platforms. Notable exception WinBlows. \_ BUZZ wrong. Solaris jdk1.2.2 and up runs with a JIT by default. make the http://java.compiler env var = NONE if you want to turn it off for debuggin purposes. And JDK 1.3 uses "HotSpot" which is a faster kind of JIT. \_ Most of the command line options are documented. HotSpot is available with 1.2.* JDKs also. The 1.3 one is HotSpot 2 is available with 1.2.* JDKs also. the 1.3 one is HotSpot 2 out on Windoze, beta on Solaris. I find HS 2 beta to be much better than the "stable" HS 1. HS is not a JIT and is not necesserily faster than a JIT. I'd say if you don't know exactly what you are doing or don't spend most of your time in Sun's libraries it will kill your performance. -muchandr |
2000/8/19-21 [Uncategorized] UID:19046 Activity:nil |
8/19 Anybody interested in getting rid of a twin-sized bed frame? \_ Yes. |
2000/8/19-21 [Science, Politics] UID:19047 Activity:nil |
8/19 How do i disable the front power button on an Ultra 5? But I still want the green power light to work. \_ Open it up, and pull the red wire. |