[sysadmin] cupsquota.sh


( ! ) Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/bbbart/www/htdocs/blog/wp-content/plugins/vimcolor/wp-vimcolor.php on line 105
Call Stack
#TimeMemoryFunctionLocation
10.000153076{main}( )../index.php:0
20.000256516require( '/home/bbbart/www/htdocs/blog/wp-blog-header.php' )../index.php:17
30.325416856828require_once( '/home/bbbart/www/htdocs/blog/wp-includes/template-loader.php' )../wp-blog-header.php:16
40.351216919408include( '/home/bbbart/www/htdocs/blog/wp-content/themes/svelt/single.php' )../template-loader.php:43
50.427917037632the_content( )../single.php:16
60.427917040760apply_filters( )../post-template.php:169
70.432517050824call_user_func_array ( )../plugin.php:166
80.432517051008vim_color( )../plugin.php:0
90.432517051344preg_replace ( )../wp-vimcolor.php:143
100.432717070836preg_replace ( )../wp-vimcolor.php:143
110.432717073660vimcolor_process_color( )../wp-vimcolor.php(143) : regexp code:76
120.498817092400fread ( )../wp-vimcolor.php:105

Sometimes I want to know how many pages some user printed on some printer on
the network from some host on the network. This script tells me just that.

It’s an awk
program with a bourne shell wrapper to calculate the total amount of pages a
user has printed on a host using cups.

Add a Comment   Trackback  

Add a Comment