Hi,
i have to search for a char like that :
export var1="i am not happy /not happy"
with a command like :
grep $var1 file
but this not working with me !!!
thank you in advance. (2 Replies)
Hello,
I am currently trying to edit an ldif file. The ldif specification states that a newline followed by a space indicates the subsequent line is a continuation of the line. So, in order to search and replace properly and edit the file, I open the file in textwrangler, search for "\r " and... (14 Replies)
Hello, I'm searching for a proper way to let the kernel space ISR(implemented in a kernel module) wake up a user space thread on a hardware interrupt.
Except for sending a real-time signal, is it possible to use a semaphore?
I've searched it on google, but it seems impossible to share a... (0 Replies)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Hi,
i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :-
1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024
1057 ls -l /root/myswapfile
1058 chmod 600 /root/myswapfile
1059 mkswap /root/myswapfile
1060 swapon /root/myswapfile
... (1 Reply)
hi guys, me again ;)
i recently opened a thread about physical to zone migration.
My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone.
We are talking about 22mio of files.
i used rsync to do that and every time at... (8 Replies)
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Hi,
I have a space delimited text file but I only want to change the first space to a tab and keep the rest of the spaces intact. How do I go about doing that? Thanks! (3 Replies)
I created a awk state to calculate the number of success however when the query runs it has a leading zero. Any ideas on how to remove the leading zero from the calculation?
Here is my query:
cat myfile.log | grep | awk '{print $2,$3,$7,$11,$15,$19,$23,$27,$31,$35($19/$15*100)}'
02:00:00... (1 Reply)
hi,
I'm trying to calculate IP addresses and their respective calls to our apache Server. The standard format of the input is
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST IP DATE/TIME - - "GET/POST reuest" "User Agent"
HOST... (2 Replies)
Discussion started by: busyboy
2 Replies
LEARN ABOUT DEBIAN
fstrace_lslog
FSTRACE_LSLOG(8) AFS Command Reference FSTRACE_LSLOG(8)NAME
fstrace_lslog - Displays information about a log
SYNOPSIS
fstrace lslog [-set <set name>+]
[-log <log name>]
[-long] [-help]
fstrace lsl [-s <set name>+]
[-log <log name>]
[-lon] [-h]
DESCRIPTION
The fstrace lslog command reports whether the "cmfx" log is available for use. If the -long argument is included, the output reports the
log's defined size, and whether that amount of space is currently allocated in kernel memory or not.
To change the "cmfx" trace log's size, use the fstrace setlog command. To display or set whether space is allocated for it in kernel
memory, use the fstrace lsset or fstrace setset command to display or set the state of the corresponding "cm" event set, respectively.
OPTIONS -set <set name>+
Names the event set for which to display information about the corresponding trace log. The only acceptable value is "cm" (for which
the associated trace log is "cmfx"). Provide either this argument or the -log argument, or omit both to display information about the
"cmfx" log by default.
-log <log name>
Names the trace log about which to report. The only acceptable value is "cmfx". Provide either this argument or the -set argument, or
omit both to report on the "cmfx" log by default.
-long
Reports the defined size of the log in kilobyte units and whether that amount of space is currently allocated in kernel memory.
-help
Prints the online help for this command. All other valid options are ignored.
OUTPUT
By default, the fstrace lslog command displays only the name of the available log, "cmfx", in the following format:
Available logs:
cmfx
When the -long flag is included, the output also reports the defined size of the log in kilobytes, and whether or not that amount of space
is currently allocated in kernel memory, in the following format:
Available logs:
cmfx : <log_size> kbytes (allocated | unallocated)
The "allocated" state indicates that the indicated number of kilobytes is reserved for the "cmfx" trace log in kernel memory. The "cm"
event set's state is either "active" or "inactive", as reported by the fstrace lsset command, and set by the fstrace setset command's
-active or -inactive flags respectively.
The "unallocated" state indicates that no kernel memory is currently reserved for the "cmfx" trace log. The cm event set's state is
"dormant", as reported by the fstrace lsset command and set by the fstrace setset command's -dormant flag. If the event set's state is
later changed to active or inactive, the number of kilobytes indicated as <log_size> are again allocated in kernel memory.
EXAMPLES
The following example uses the -long flag to display information about the "cmfx" log:
# fstrace lslog -log cmfx -long
Available logs:
cmfx : 60 kbytes (allocated)
PRIVILEGE REQUIRED
The issuer must be logged in as the local superuser "root".
SEE ALSO fstrace(8), fstrace_lsset(8), fstrace_setlog(8)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 FSTRACE_LSLOG(8)