Hi, How will I generate userwise priting usage( No of pages printed) in linux & the disk space usage. Is any one does this, please help me. thanks, Rajesh.
Just exccute this as root #===================== cat /etc/passwd| awk -F : '{ print "echo -n For " $1 " ;\ echo " " ; du -sh " $6 " ;echo -------"}' \ >test.sh;chmod +x test.sh;./test.sh #=====================
On Tuesday 22 Oct 2002 3:51 pm, Rajesh Prakasan wrote:
: Hi, : How will I generate userwise priting usage( No of pages printed) in : linux & the disk space usage. : Is any one does this, please help me.
On Wed, 23 Oct 2002, Sachin wrote:
cat /etc/passwd| awk -F : '{ print "echo -n For " $1 " ;\ echo " " ; du -sh " $6 " ;echo -------"}' \ >test.sh;chmod +x test.sh;./test.sh
how will this say anything about printer usage?
On Thursday 24 Oct 2002 10:11 am, Philip S Tellis wrote:
: > cat /etc/passwd| awk -F : '{ print "echo -n For " $1 " ;\ : > echo " " ; du -sh " $6 " ;echo -------"}' \ : > : > >test.sh;chmod +x test.sh;./test.sh : : how will this say anything about printer usage?
i forgot to mension this will print only for DISK USAGE PER USER happy :-)
sachin