Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pure-statsdecode(8) [linux man page]

pure-statsdecode(8)						     Pure-FTPd						       pure-statsdecode(8)

NAME
pure-statsdecode - Show human-readable dates from a "stats" logfile SYNTAX
pure-statsdecode filename pure-statsdecode - DESCRIPTION
This program decodes Pure-FTPd's "stats" log files and converts timestamps into human-readable dates. OPTIONS
- means to read the standard input. filename is a log file produced with pure-ftpd -O ftpstats:/path/to/logfile EXAMPLES
To run this program the standard way type: pure-statsdecode /var/log/pureftpd.log > /tmp/pureftpd.humanlog Alternativly you can run it as: cat /var/log/pureftpd.log | pure-statsdecode - | gzip --best > /tmp/pureftpd.humanlog.gz AUTHORS
Frank DENIS <j at pureftpd dot org> SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) RFC 959, RFC 2228, RFC 2389 and RFC 2428. Pure-FTPd team 1.0.36 pure-statsdecode(8)

Check Out this Related Man Page

pure-mrtginfo(8)						     Pure-FTPd							  pure-mrtginfo(8)

NAME
pure-mrtginfo - provide an MRTG-graphable user count for ftpd SYNOPSIS
pure-mrtginfo [server port] DESCRIPTION
Pure-Mrtginfo counts the number of clients currently connected to ftpd(8) and output the format in a format graphable by MRTG. OPTIONS
server port : defaults to 21. FILES
/proc/net/tcp is used to count the connectiont to port 21. /proc/sys/kernel/hostname is used to get the fully qualified hostname. /proc/uptime is used to get the uptime. MRTG
MRTG is a really nice package for graphing router traffic. Mrtg can also graph other information is available via SNMP or by running a program such as pure-mrtginfo. The author of this program uses it to graph CPU load, /var usage etc., and naturally the number of users connected to his FTP servers. See http://oss.oetiker.ch/mrtg/ for more information about MRTG. BUGS
This program only works on GNU/Linux systems yet. HOME PAGE
http://www.pureftpd.org/ AUTHOR AND LICENSE
Written by Arnt Gulbrandsen <agulbra@troll.no> and copyright 1995-2002 Troll Tech AS, Waldemar Thranes gate 98B, N-0175 Oslo, Norway, fax +47 22806380. Pure-FTPd (C)opyleft 2001-2011 by Frank DENIS <j at pureftpd dot org> and the Pure-FTPd team. Use, modification and distribution is allowed without limitation, warranty, or liability of any kind. SEE ALSO
ftp(1), pure-ftpd(8) pure-ftpwho(8) pure-mrtginfo(8) pure-uploadscript(8) pure-statsdecode(8) pure-pw(8) pure-quotacheck(8) pure-authd(8) RFC 959, RFC 2228, RFC 2389 and RFC 2428. Pure-FTPd Team 1.0.36 pure-mrtginfo(8)
Man Page

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

freebsd logs

hi, i want to log all ftp actions. i read that if you start the ftpd with ftpd -l, the ftp will log everything to a log file. i tried to change the syslog.conf and added LOG_FTP /var/log/ftpd so that he should log everything that has to do with ftp to that log file. but... (4 Replies)
Discussion started by: chick4
4 Replies

2. Shell Programming and Scripting

Variable containing spaces

Hi, my var is: PATH_LOG=/opt/WebSphere/CR Comune Roma.log a filename which contains blank chars. How can I call it from prompt ? Ex: ls $PATH_LOG or cat $PATH_LOG tks, Carmen- (2 Replies)
Discussion started by: Carmen123
2 Replies

3. UNIX and Linux Applications

how to get a part of file pertaining to a condition

A log file contains details for last one year .This file contains log for all dates . The log file for a particular day starts with a particular string and ends with the same string . We need to make a new file out of this existing file containing data after a particular date. (2 Replies)
Discussion started by: chaitanyassk
2 Replies

4. Shell Programming and Scripting

Time Between Dates

Time Between Dates Does anyone know how to figure out the time between two dates in HP-UX, by reading two log files start.log(starting time) and end.log(ending time)? So if I have the content of start.log as : Mon, Feb 18, 2008 09:30:02 PM & end.log as: Tue, Feb 19, 2008 01:25:14 AM ... (3 Replies)
Discussion started by: Sreejith_VK
3 Replies

5. HP-UX

Time Between Dates

Time Between Dates Does anyone know how to figure out the time between two dates, by reading two log files start.log(starting time) and end.log(ending time)? So if I have the content of start.log as : Mon, Feb 18, 2008 09:30:02 PM & end.log as: Tue, Feb 19, 2008 01:25:14 AM How can... (2 Replies)
Discussion started by: Sreejith_VK
2 Replies

6. Shell Programming and Scripting

alphabetical check

echo $TEMP|grep "" I want to check TEMP is alphabetic or not in both the cases.but in above script i am getting 1($?) if TEMP is in pure lower case or pure upper case.i want to get 0($?) when TEMP would be alphabetic in either cases.pleaaaase help me out..... (4 Replies)
Discussion started by: arghya_owen
4 Replies

7. Shell Programming and Scripting

string checking

please help me providing the code of checking a string pure numeric or not and pure alphanumeric or not (6 Replies)
Discussion started by: arghya_owen
6 Replies

8. Shell Programming and Scripting

Convert Variable file to fixed file.

I have a set of variable date log files /tmp/test/test1_<YYYYMMDD>_A.log /tmp/test/test2_<YYYYMMDD>_B.log /tmp/test/test3_<YYYYMMDD>_C.log /tmp/test/test4_<YYYYMMDD>_D.log /tmp/test/test5_<YYYYMMDD>_E.log which should be converted (should have content of all the above listed files) into... (9 Replies)
Discussion started by: abhi9845
9 Replies

9. UNIX for Advanced & Expert Users

What is the best way to delete log files?

As per my knowledge we need to take back up of a log file before clearing the log file then needs to perform this like this: ">logfile". Please correct me if I am wrong. And add your comments if any. Also I want to understand how will ">" this help in clearing the log file. Whats wrong if we... (6 Replies)
Discussion started by: praveen_b744
6 Replies

10. Shell Programming and Scripting

Grep 'error' between two timestamps

Hi, Need to grep for a error in a log file but between two timestamps / patterns example: in the below log file if the given timestamps are 14:00 to 15:00 and m greping for error only error3 should come in the output. pls note that apart from timestamps printed, the log file has no... (2 Replies)
Discussion started by: amicableperson
2 Replies

11. Debian

Pure-ftpd, passive mode, tls

Hello everyone, Could you please help me with settings of pure-ftpd. Here is my actual solution: I have got linux (debian 7.1 wheezy ), where I run pure-ftpd, created virtual users, folder for ftp. I also install openssl, create private certificate for tls. All seems good. ... (3 Replies)
Discussion started by: sedlis
3 Replies

12. Shell Programming and Scripting

Find line then grep

Hi, I have a large log file which contains dates for specific events. Here's a sample of the log file: Mon Sep 21 22:00:00 2015 VKRM started with pid=33, OS id=3652 Tue Sep 22 02:00:00 2015 Closing scheduler window Closing Resource Manager plan via scheduler window Clearing Resource... (6 Replies)
Discussion started by: nms
6 Replies

13. Programming

Pure C function pointer on printing vowels twice

Have difficulty to understand this pure C code to only print vowels twice from input string. Questions are commented at the end of each place. #include <stdio.h> #include <stdlib.h> #include <assert.h> #include <limits.h> /* *Demonstrate the use of dispatch tables */ /*Print a char... (11 Replies)
Discussion started by: yifangt
11 Replies

14. Shell Programming and Scripting

Latest list of files of each type

find /tmp/testlog/kSR*"_"2018* -type f -printf '%T@ %p\n' | sort -n | tail -3 | cut -f2- -d" " /tmp/testlog/log/KSR04_2018-07-05.log /tmp/testlog/log/KSR04_2018-07-06.log /tmp/testlog/log/KSR01_2018-07-06.log But, I would see the following output(latest files for each KSR tuype) ... (3 Replies)
Discussion started by: jhonnyrip
3 Replies