Hope someone can help me with the following issue. I have a small laptop connected to a hp color laserjet 2840 inorder to make scanning "easy" for users. the system is : Linux scan 2.6.22.1-41.fc7 #1 SMP Fri Jul 27 18:10:34 EDT 2007 i686 i686 i386 GNU/Linux I cannot run hp-check because the program seems to be missing. Im running this script inorder to capture the scans #!/bin/bash i="1" while [ $i -eq 1 ] do paper_in=$(hp-info | grep Venter ) if [ "$paper_in" != '' ] ;then scanimage -b --batch-scan=yes --resolution=100 > scan.pnm DATE=`date -u | sed 's/[[:blank:]]/_/g' | sed 's/:/_/g' ` files=$(ls /home/scan/ | grep out) convert ${files} tmp.pdf mv /home/scan/tmp.pdf /home/scan/scanshare/${DATE}scan.pdf rm -f /home/scan/*.pnm fi done
Wen the script has run a day or more the laptop ends up using alot of swapspace. Futhermore a great deal of log information in /var/log/messages is produced and almost fills up the harddrive. The latter has been resolved by simply turning off logging in /var/log/messages, but the first prblem remains as seen in this top output: top - 12:19:58 up 1 day, 20 min, 2 users, load average: 1.45, 1.66, 2.52 Tasks: 78 total, 2 running, 76 sleeping, 0 stopped, 0 zombie Cpu(s): 76.3%us, 17.8%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 5.9%si, 0.0%st Mem: 507104k total, 500960k used, 6144k free, 1496k buffers Swap: 1015800k total, 513728k used, 502072k free, 11112k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 29345 scan 20 0 616m 458m 572 R 64.5 92.7 598:23.10 python 2097 root 20 0 16784 444 344 S 26.7 0.1 242:38.83 hpiod 1868 root 20 0 1904 264 200 S 7.6 0.1 71:16.94 syslogd 32249 root 20 0 2236 992 800 R 0.7 0.2 0:00.45 top 1 root 20 0 2140 84 60 S 0.0 0.0 0:36.72 init 2 root 15 -5 0 0 0 S 0.0 0.0 0:00.31 kthreadd 3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0 4 root 15 -5 0 0 0 S 0.0 0.0 0:03.66 ksoftirqd/0 5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0 6 root 15 -5 0 0 0 S 0.0 0.0 0:02.54 events/0 7 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 khelper 48 root 15 -5 0 0 0 S 0.0 0.0 0:12.21 kblockd/0 49 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid 50 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify 135 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cqueue/0 136 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ksuspend_usbd 139 root 15 -5 0 0 0 S 0.0 0.0 0:00.02 khubd 141 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 kseriod 160 root 15 -5 0 0 0 S 0.0 0.0 47:32.20 kswapd0 213 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0 339 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 pccardd 341 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 pccardd 352 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kpsmoused 380 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata/0 381 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 ata_aux . . Does anyone know what the issue is and is there a solution. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ HPLIP-Help mailing list HPLIP-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hplip-help