08-18-2004
How come sigs don't work?
They appear to be turned on, I entered mine in. The check boxes are all checked. And yet, no sigs?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am thankful for this site and for the many links provided. I have been going through one of the tutorials, but as I try some things, they don't seem to work.
I am wondering if there is something I need first before being able to use a tutorial (like version number (HP-UX) or how I am getting... (1 Reply)
Discussion started by: arungavali
1 Replies
2. Programming
I use FreeBSD,and use signal,like follows:
signal(SIGHUP,sig_hup);
signal(SIGIO,sig_io);
when I run call following code,it can run,but I find a puzzled question,it should print some information,such as printf("execute main()") will print execute main(),but in fact,printf fuction print... (2 Replies)
Discussion started by: konvalo
2 Replies
3. Shell Programming and Scripting
Hi all.
I have a script as below:
cutmth=`TZ=CST+2160 date +%b`
export cutmth
echo $cutmth >> date.log
sed -n "/$cutmth/$p" alert_sbdev1.log > alert_summ.log
My purpose is to run through the alert_sbdev1.log and find the 1st occurence of 'Jan' and send everything after that line to... (4 Replies)
Discussion started by: ahSher
4 Replies
4. Programming
Following code is detecting solaris daytime,when I run it,I can't get any result,code is follows:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFFSIZE 150
int main(){
... (2 Replies)
Discussion started by: konvalo
2 Replies
5. Programming
I use Solaris 10, I use following code:
#include <signal.h>
int main(void){
printf("----------testing-----------");
if(signal(SIGUSR1,sig_usr)==SIG_ERR)
err_sys("can't catch SIGUSR1");
for(;;)
pause();
sig_user(int signo){
.....
}
when I run above code,it print nothing... (3 Replies)
Discussion started by: konvalo
3 Replies
6. HP-UX
Hello all!
I have problem in hp-ux 11.11 in awk
I want to grep sar -d 2 1 only 3 column, but have error in awk in hp-ux 11.11
Example:
#echo 123 234 | awk '{print $2}'
123 234
The situattions in commands bdf | awk {print $5}' some...
In hp-ux 11.31 - OK!
How resolve problem (15 Replies)
Discussion started by: ostapv
15 Replies
7. Solaris
Hi all.
The startup script in /usr/local/bin.
After user login the script run an application.
Iwould in the same way run the another application.
How to make It similar?
Where I must to look?
Regards. (3 Replies)
Discussion started by: wolfgang
3 Replies
8. Solaris
Hi,
I installed solaris 10 x86 on my local system. it was working fine. today when i started the system, it started up without any problem. when i tried to open the terminal it didn't open any terminal.
Plz help me (0 Replies)
Discussion started by: malikshahid85
0 Replies
9. Shell Programming and Scripting
Hello:
I can't get equivalence classes to work in globs or when passing them to tr. If I understood correctly, matches e, é, è, ê, etc. But when using them with utilities like tr they don't work. Here's an example found in the POSIX standard:
I decided to create the aforementioned files in... (9 Replies)
Discussion started by: Cacializ
9 Replies
sigtool(1) Clam AntiVirus sigtool(1)
NAME
sigtool - signature and database management tool
SYNOPSIS
sigtool [options]
DESCRIPTION
sigtool can be used to generate MD5 checksums, convert data into hexadecimal format, list virus signatures and build/unpack/test/verify CVD
databases and update scripts.
OPTIONS
-h, --help
Output help information and exit.
-V, --version
Print version number and exit.
--quiet
Be quiet - output only error messages.
--stdout
Write all messages to stdout.
--hex-dump
Read data from stdin and write hex string to stdout.
--md5 [FILES]
Generate MD5 checksum from stdin or MD5 sigs for FILES.
--mdb [FILES]
Generate .mdb signatures for FILES.
--html-normalise=FILE
Create normalised HTML files comment.html, nocomment.html, and script.html in current working directory.
--utf16-decode=FILE
Decode UTF16 encoded data.
--vba=FILE
Extract VBA/Word6 macros from given MS Office document.
--vba-hex=FILE
Extract Word6 macros from given MS Office document and display the corresponding hex values.
-i, --info
Print a CVD information and verify MD5 and a digital signature.
-b, --build
Build a CVD file. -s, --server is required.
--server
ClamAV Signing Service address (for virus database maintainers only).
--unpack FILE, -u FILE
Unpack FILE (CVD) to a current directory.
--unpack-current
Unpack a local CVD file (main or daily) to current directory.
--diff=OLD NEW, -d OLD NEW
Create a diff file for OLD and NEW CVDs/INCDIRs.
--run-cdiff=FILE, -r FILE
Execute update script FILE in current directory.
--verify-cdiff=FILE, -r FILE
Verify DIFF against CVD/INCDIR.
-l[FILE], --list-sigs[=FILE]
List all signature names from the local database directory (default) or from FILE.
-fREGEX, --find-sigs=REGEX
Find and display signatures from the local database directory which match the given REGEX. The whole signature body (name, hex
string, etc.) is checked.
-fREGEX, --decode-sigs=REGEX
Decode signatures read from the standard input (eg. piped from --find-sigs)
-fREGEX, --test-sigs=DATABASE TARGET_FILE
Test all signatures from DATABASE against TARGET_FILE.
EXAMPLES
Generate hex string from testfile and save it to testfile.hex:
cat testfile | sigtool --hex-dump > testfile.hex
CREDITS
Please check the full documentation for credits.
AUTHOR
Tomasz Kojm <tkojm@clamav.net>
SEE ALSO
freshclam(1), freshclam.conf(5)
ClamAV 0.96.1 February 12, 2007 sigtool(1)