Benchmark and Backup

So, I’ve in principle backed up the questionable boot sector and file system onto read only CDs. For analysis in my spare time. There is still a lot of the harddrive that has not been backed up, although it is technically not seen in the file system. I’d have to clone the hard drive to see it. To verify that there are other problematic sectors active, I could try to load these CDs onto another system, and see what the result is. But, here one sees my bias, I only really care about the part that affects my system performance. So, I draw the line and respect the privacy of the guy who sold the computer/hard drive to me. The last post was getting kind of long, so, I’ll summarize the new goals before I flash the bios, wipe the hard drive, and reinstall (with a little more RAM):
1. I want to benchmark the system performance. Develop some code that I can run and time, that will let me know how well things are going (how many processes have access to my processor, etc.).
Probably do this in c, fortran, and shell scripts.
2. Watch ps -ef
Processes running upon boot into failsafe mode.
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 20:52 ? 00:00:01 init [3]
root 2 1 0 20:52 ? 00:00:00 [ksoftirqd/0]
root 3 1 0 20:52 ? 00:00:00 [events/0]
root 4 1 0 20:52 ? 00:00:00 [khelper]
root 9 1 0 20:52 ? 00:00:00 [kthread]
root 22 9 0 20:52 ? 00:00:00 [kblockd/0]
root 76 9 0 20:52 ? 00:00:00 [pdflush]
root 77 9 0 20:52 ? 00:00:00 [pdflush]
root 79 9 0 20:52 ? 00:00:00 [aio/0]
root 78 1 0 20:52 ? 00:00:00 [kswapd0]
root 670 1 0 20:52 ? 00:00:00 [kseriod]
root 1039 9 0 20:52 ? 00:00:00 [reiserfs/0]
root 1997 1 0 20:53 ? 00:00:00 [kjournald]
root 2075 1 0 20:53 ? 00:00:00 /sbin/udevd -d
root 2193 1 0 20:53 ? 00:00:00 [khpsbpkt]
root 2673 1 0 20:53 ? 00:00:00 [hwscand]
root 2691 1 0 20:53 ? 00:00:00 [kgameportd]
root 2711 1 0 20:53 ? 00:00:00 [khubd]
100 2752 1 0 20:53 ? 00:00:00 /usr/bin/dbus-daemon-1 –system
root 2777 1 0 20:53 ? 00:00:00 [pccardd]
root 2790 1 0 20:53 ? 00:00:00 [pccardd]
root 2902 1 0 20:53 ? 00:00:00 /sbin/cardmgr
nobody 2909 1 0 20:53 ? 00:00:00 /usr/sbin/mdnsd -f /etc/rendezvous.conf -b
root 3006 1 0 20:53 ? 00:00:00 /sbin/resmgrd
root 3045 1 0 20:53 ? 00:00:00 /sbin/syslog-ng
root 3048 1 0 20:53 ? 00:00:00 /sbin/klogd -c 1 -x -x
nobody 3066 1 0 20:53 ? 00:00:00 /sbin/portmap
lp 3171 1 0 20:53 ? 00:00:00 /usr/sbin/cupsd
root 5042 1 0 20:54 ? 00:00:00 [scsi_eh_0]
root 5045 1 0 20:54 ? 00:00:00 [usb-storage]
root 5099 1 0 20:54 ? 00:00:00 /usr/sbin/nscd
root 5400 1 0 20:54 ? 00:00:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root 5427 1 0 20:54 ? 00:00:00 /usr/lib/postfix/master
postfix 5442 5427 0 20:54 ? 00:00:00 pickup -l -t fifo -u
postfix 5443 5427 0 20:54 ? 00:00:00 qmgr -l -t fifo -u
root 5448 1 0 20:54 ? 00:00:00 /usr/sbin/cron
root 5462 1 0 20:54 ? 00:00:00 login — root
root 5463 1 0 20:54 tty2 00:00:00 /sbin/mingetty tty2
root 5464 1 0 20:54 tty3 00:00:00 /sbin/mingetty tty3
root 5465 1 0 20:54 tty4 00:00:00 /sbin/mingetty tty4
root 5466 1 0 20:54 tty5 00:00:00 /sbin/mingetty tty5
root 5468 1 0 20:54 tty6 00:00:00 /sbin/mingetty tty6
root 5469 1 1 20:54 ? 00:00:01 /usr/sbin/hald –daemon=yes
root 5548 5462 0 20:54 tty1 00:00:00 -bash
root 5567 5548 0 20:55 tty1 00:00:00 ps -ef

Processes running as seen from an xterm console launched after xdm.

UID PID PPID C STIME TTY TIME CMD
root 1 0 0 20:52 ? 00:00:01 init [3]
root 2 1 0 20:52 ? 00:00:00 [ksoftirqd/0]
root 3 1 0 20:52 ? 00:00:00 [events/0]
root 4 1 0 20:52 ? 00:00:00 [khelper]
root 9 1 0 20:52 ? 00:00:00 [kthread]
root 22 9 0 20:52 ? 00:00:00 [kblockd/0]
root 76 9 0 20:52 ? 00:00:00 [pdflush]
root 77 9 0 20:52 ? 00:00:01 [pdflush]
root 79 9 0 20:52 ? 00:00:00 [aio/0]
root 78 1 0 20:52 ? 00:00:00 [kswapd0]
root 670 1 0 20:52 ? 00:00:00 [kseriod]
root 1039 9 0 20:52 ? 00:00:00 [reiserfs/0]
root 1997 1 0 20:53 ? 00:00:00 [kjournald]
root 2075 1 0 20:53 ? 00:00:00 /sbin/udevd -d
root 2193 1 0 20:53 ? 00:00:00 [khpsbpkt]
root 2673 1 0 20:53 ? 00:00:00 [hwscand]
root 2691 1 0 20:53 ? 00:00:00 [kgameportd]
root 2711 1 0 20:53 ? 00:00:00 [khubd]
100 2752 1 0 20:53 ? 00:00:00 /usr/bin/dbus-daemon-1 –system
root 2777 1 0 20:53 ? 00:00:00 [pccardd]
root 2790 1 0 20:53 ? 00:00:00 [pccardd]
root 2902 1 0 20:53 ? 00:00:00 /sbin/cardmgr
nobody 2909 1 0 20:53 ? 00:00:00 /usr/sbin/mdnsd -f /etc/rendezvous.conf -b
root 3006 1 0 20:53 ? 00:00:00 /sbin/resmgrd
root 3045 1 0 20:53 ? 00:00:00 /sbin/syslog-ng
root 3048 1 0 20:53 ? 00:00:00 /sbin/klogd -c 1 -x -x
nobody 3066 1 0 20:53 ? 00:00:00 /sbin/portmap
lp 3171 1 0 20:53 ? 00:00:00 /usr/sbin/cupsd
root 5042 1 0 20:54 ? 00:00:00 [scsi_eh_0]
root 5045 1 0 20:54 ? 00:00:00 [usb-storage]
root 5099 1 0 20:54 ? 00:00:00 /usr/sbin/nscd
root 5400 1 0 20:54 ? 00:00:00 /usr/sbin/sshd -o PidFile=/var/run/sshd.init.pid
root 5427 1 0 20:54 ? 00:00:00 /usr/lib/postfix/master
postfix 5442 5427 0 20:54 ? 00:00:00 pickup -l -t fifo -u
postfix 5443 5427 0 20:54 ? 00:00:00 qmgr -l -t fifo -u
root 5448 1 0 20:54 ? 00:00:00 /usr/sbin/cron
root 5462 1 0 20:54 ? 00:00:00 login — root
root 5463 1 0 20:54 tty2 00:00:00 /sbin/mingetty tty2
root 5464 1 0 20:54 tty3 00:00:00 /sbin/mingetty tty3
root 5465 1 0 20:54 tty4 00:00:00 /sbin/mingetty tty4
root 5466 1 0 20:54 tty5 00:00:00 /sbin/mingetty tty5
root 5468 1 0 20:54 tty6 00:00:00 /sbin/mingetty tty6
root 5469 1 0 20:54 ? 00:00:01 /usr/sbin/hald –daemon=yes
root 5548 5462 0 20:54 tty1 00:00:00 -bash
root 5571 1 0 20:56 ? 00:00:00 xdm
root 5573 5571 4 20:56 ? 00:00:08 /usr/X11R6/bin/X -nolisten tcp -br vt7 -auth /var/lib/xdm/authdir/authfiles/A:0-JCTNaG
root 5574 5571 0 20:56 ? 00:00:00 -:0
root 5597 1 0 20:56 ? 00:00:00 /usr/X11R6/bin/xconsole -notify -nostdin -verbose -exitOnFail
root 5607 5574 0 20:56 ? 00:00:00 /bin/sh /usr/X11R6/bin/kde
root 5648 1 0 20:56 ? 00:00:00 /usr/bin/gpg-agent –sh –daemon
root 5678 1 0 20:56 ? 00:00:00 kdeinit Running…
root 5681 1 0 20:56 ? 00:00:00 dcopserver [kdeinit] dcopserver –nosid
root 5683 5678 0 20:56 ? 00:00:00 klauncher [kdeinit] klauncher
root 5686 1 1 20:56 ? 00:00:02 kded [kdeinit] kded
root 5706 5678 1 20:56 ? 00:00:02 /opt/kde3/bin/artsd -F 10 -S 4096 -s 5 -m artsmessage -l 3 -f
root 5708 1 0 20:56 ? 00:00:00 kaccess [kdeinit] kaccess
root 5709 5607 0 20:56 ? 00:00:00 kwrapper ksmserver
root 5711 1 0 20:56 ? 00:00:00 ksmserver [kdeinit] ksmserver
root 5712 5678 1 20:56 ? 00:00:02 kwin [kdeinit] kwin -session 10e4696e75000131122675800000063380000_1311461949_11181
root 5714 1 1 20:57 ? 00:00:02 kdesktop [kdeinit] kdesktop
root 5716 1 3 20:57 ? 00:00:05 kicker [kdeinit] kicker
root 5720 1 0 20:57 ? 00:00:00 klipper [kdeinit] klipper
root 5723 1 1 20:57 ? 00:00:01 susewatcher [kdeinit] susewatcher -caption SUSE Watcher -icon unknown -miniicon unknown –quiet
root 5725 1 3 20:57 ? 00:00:04 suseplugger [kdeinit] suseplugger -caption SUSE Hardware Tool -icon hi22-action-hardware.png -miniicon hi22-action-hardware.png –quiet
root 5726 5678 0 20:57 ? 00:00:00 kio_file [kdeinit] kio_file file /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/kdesktopnwSSBa.slave-socket
root 5731 1 1 20:57 ? 00:00:01 kmix [kdeinit] kmix -session 10e4696e75000131122678000000063380011_1311461948_886005
root 5733 5678 2 20:57 ? 00:00:03 konqueror [kdeinit] konqueror –preload
root 5735 1 0 20:57 ? 00:00:00 knotify [kdeinit] knotify
root 5765 1 0 20:57 ? 00:00:00 kio_uiserver [kdeinit] kio_uiserver
root 5766 5678 0 20:57 ? 00:00:00 kio_media [kdeinit] kio_media media /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/kdesktopkFinhc.slave-socket
root 5767 5678 0 20:57 ? 00:00:00 kio_media [kdeinit] kio_media media /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/kdesktopqBivtc.slave-socket
root 5772 1 2 20:58 ? 00:00:02 konqueror [kdeinit] konqueror -mimetype inode/directory media:/
root 5773 5678 0 20:58 ? 00:00:00 kio_media [kdeinit] kio_media media /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/konquerorw5ZTYb.slave-socket
root 5774 5678 0 20:58 ? 00:00:00 kio_file [kdeinit] kio_file file /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/konquerorxALY3a.slave-socket
root 5775 5678 0 20:58 ? 00:00:00 kio_file [kdeinit] kio_file file /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/kio_mediaokNvHa.slave-socket
root 5776 5678 0 20:58 ? 00:00:00 kio_media [kdeinit] kio_media media /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/konqueror4S1ksb.slave-socket
root 5777 5678 0 20:58 ? 00:00:00 kio_file [kdeinit] kio_file file /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/konquerorktpCXa.slave-socket
root 5778 5678 0 20:58 ? 00:00:00 kio_file [kdeinit] kio_file file /tmp/ksocket-root/klauncherXPpyTb.slave-socket /tmp/ksocket-root/kio_media7rK1Da.slave-socket
root 5779 5678 0 20:58 ? 00:00:00 xterm
root 5781 5779 0 20:58 pts/1 00:00:00 bash
root 5786 5781 0 20:59 pts/1 00:00:00 ps -ef

3. Understand clock and time.
5. Get the USB port running in command mode.

This was accomplished quite nicely by modifying the /etc/fstab file to:
/dev/hda4 / reiserfs acl,user_xattr 1 1
/dev/hda2 /boot ext3 acl,user_xattr 1 2
/dev/hda3 /var reiserfs acl,user_xattr 1 2
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/hdc /media/cdrom subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0
/dev/sda1 /media/PUBLIC subfs noauto,fs=cdfss,rw,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

The caveat right now is that I have to power the system up with the drive in it, and not umount it. I can simply cp files to /media/PUBLIC/xp
I can of course then umount /media/PUBLIC, but if I try to remount it, it says no medium found when I ls. There is no error msg in mount, so the setting must be wrong in /etc/fstab and /etc/fstab is not what is read on power up, or something different is being executed at a specific time in the boot process that allows it to find the media.
6. Flash bios, wipe, and reinstall.
7. Install network.

To set up goal 1, I’m going to take advantage of the fact that I’m on the topic of system backups, and use a shell script program (I wrote one a while back, and I’m going to pull someone else’s backup script from the net, so that I don’t have to rewrite it. I’m going to try to use a tcsh shell. On second thought, maybe not, for writing the script, although it is a nice shell environment).

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s