Messages in this thread | | | Date | Fri, 10 Dec 2004 23:15:28 +0800 | From | "Adam J. Richter" <> | Subject | Re: [Patch]Memory leak in sysfs |
| |
Greg KH wrote: >And, do you have a pointer to your stress tests? I'd love to add stuff >like this to an automated testing framework (I know OSDL has one, and >IBM has one internally.)
This is just something that Maneesh had suggested. My script runs the commands in separate xterms just so the output is clearer. __ ______________ Adam J. Richter \ / adam@yggdrasil.com | g g d r a s i l
#!/bin/sh
mount -t sysfs x /sys
xterm -geometry 80x10 -title 'cat /sys/class/net/...' \ -e 'sleep 1 ; while true ; do find /sys/class/net -type f | xargs cat ; done' &
xterm -geometry 80x10 -title '{modprobe,rmmod} dummy' \ -e 'sleep 1 ; while true ; do modprobe dummy ; rmmod dummy ; done' &
xterm -geometry 80x10 -title 'ls -lR /sys' \ -e 'sleep 1 ; while true ; do ls -lR /sys ; done' &
wait - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |