261 reputation
15
bio website hacksaw.org
location United States
age 49
visits member for 3 years, 4 months
seen Apr 30 at 21:36

Trying hard to be no longer a sys-admin.

iPhone development is my current study.

Mini Resume: I've worked with computers for 33 years, doing some coding and a lot of systems administration.

OSes: TRS-80, TRS-DOS, Atari, ZX81, Mac OS 4-10, Various Unixes, BSDs, and Linuxes.

Coded in: BASIC, Fortran, Assembler (Z-80), Pascal, C, Forth, LISP, Postscript, C++, Objective-C, Python, Perl, various shells, Ruby.

I also write music, fiction, non-fiction, and the odd poem. I'm known to design things, largely in Adobe Illustrator.

I'm familiar with Agile:Scrum, and CMM.


Jul
16
comment Run unix command precisely at very short intervals WITHOUT accumulating time lag over time
It strikes me that your timing is always going to be affected by the current operating state of the box. If something causes the program you care about to be unloaded from the cache, you'll get a rise in time, unless you can guarantee that the typical runtime of the program is significantly less than the interval you want. I would want to be on a realtime system, in a significantly stripped down setup with no one else logged on, or in single user mode. Probably a better solution is to modify the program in question to do the loop itself, instead of invoking it from another program.
Nov
6
comment To list out duplicate filenames in a listing?
BTW, as far as I know, no Unix will ever allow your listing to happen. The filenames in a directory must be unique, though the differences might be unprintable characters.
May
17
comment Disable USB power for USB controlled power strip
You can unload kernel modules with modprobe -r <name-of-driver>, as root. Per port, no.
May
16
comment Disable USB power for USB controlled power strip
I wonder if the ports would turn off if you unloaded the device driver. Kind of drastic, but...
May
16
comment Disable USB power for USB controlled power strip
Hmm. That makes it seem like the usb ports don't accept that command. Which kernel are you running? (uname -r)
May
16
comment What is the difference between .a and .so file?
It's a full fledged program in the sense that it has a main symbol for exec to find.
May
16
comment What is the difference between .a and .so file?
Thanks for the typo pointer.