Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Apr 2014, 10:22
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Contador de usuarios Puppy-es
Moderators: rarsa
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Tue 16 Oct 2012, 18:41    Post subject:  Contador de usuarios Puppy-es  

Code:

#!/bin/bash
###############################
# contador de usuari puppy-es #
#       version 2.0           #
###############################
cat /var/log/lighttpd/access.log | grep Packages-puppy-5-official >  /var/log/repo.log;
cat /var/log/repo.log |awk '{print($1)}'|sort |uniq -c |sort > /var/log/repo2
cat /var/log/repo2 | wc -l


via cron en zeuza
Code:

#contador de puppy
45 */1 * * * cat /var/log/lighttpd/access.log | grep Packages-puppy-5-official >  /var/log/repo.log;cat /var/log/repo.log |awk '{print($1)}'|sort |uniq -c |sort > /var/log/repo2;cat /var/log/repo2 | wc -l > /media/Disco160/www/puppyes.com.ar/user.txt


http://puppyes.com.ar/user.txt


http://text0.tk/915
pass: ejemplo
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
mama21mama

Joined: 03 Apr 2010
Posts: 526
Location: Lincoln, Buenos Aires, Argentina

PostPosted: Mon 25 Mar 2013, 00:45    Post subject:  

Nueva version de lcontador de usuario, ahora cuenta si esta funcionando el update_notify

passaggio y night son diferentes update_notify

mas eficaz.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars ) » Usuarios de habla Hispana
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0465s ][ Queries: 12 (0.0118s) ][ GZIP on ]