File: FileNaming.html

package info (click to toggle)
collectl 3.7.4-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,624 kB
  • ctags: 119
  • sloc: perl: 14,928; sh: 429; makefile: 11
file content (40 lines) | stat: -rw-r--r-- 1,642 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<html>
<head>
<link rel=stylesheet href="style.css" type="text/css">
<title>collectl - File Naming</title>
</head>

<body>
<center><h1>File Naming</h1></center>
<p>
All files generated by collectl via the -f switch, both raw and plot,  will
always contain the name of the host from which they have been generated
according to the following rules:
<ul>
<li>If the specified name is a directory, the resultant file(s) will be
created in that directory and begin with the hostname.  If the name is not a
directory, that name will be prepended to <i>-hostname</i></li>
<li>The name is then followed with <i>-yyyymmdd</i></li>
<li>If this is a raw data file or one generated using -P and <i>-ou</i>
has been specified, it will also have <i>-hhmmss</i> appended as well to
indicate the starting time of the sample.  Note that the colons have been left off the
time field to make it easy to move the file to a PC for further analysis if
so desired.</li>
<li>The appropriate extension is added and if a compressed file, <i>.gz</i>
is then appended.
</ul>

<center>
<table width=80%>
<tr><td align=center><i><b>warning</i></b></td></tr>
<tr><td>Never ever try to rename a file and expect collectl to be able to process it in
playback mode.  When running in this mode, collectl ignores any files that do not
look like they were generated by collectl.  It also verifies what appears in the hostname 
portion of the filename to match that which is recorded in the header.</td></tr>
</table>
</center>

<table width=100%><tr><td align=right><i>updated Feb 21, 2011</i></td></tr></colgroup></table>

</body>
</html>