1838143 Members
5261 Online
110124 Solutions
New Discussion

Help with NETTL

 
Kenneth_18
Frequent Advisor

Help with NETTL

When I type nettl -status, I get the following at the end of the output:

Subsystem Name: Trace Mask:
TELECOM_SCP 0xFFFFFFFF

Tracing Information:
Trace Filename: var/opt/HP-AIN/ttl/trace.TRC*
Max Trace file size(Kbytes): 10240
User's ID: 0 Buffer Size: 69632
Messages Dropped: 0 Messages Queued: 0

Subsystem Name: Trace Mask:
TELECOM_SCP 0xFFFFFFFF

As you can see, nettl is already active logging the TELECOM_SCP subsystem to the file var/opt/HP-AIN/ttl/trace.TRC*.

Now I want to enable tracing for the ip packets and I enter the following command:

#nettl -tn pduin pduout -e ns_ls_ip.

What I want to achive is that logging for the ns_ls_ip subsystem to be logged to another file while logging for the TELECOM_SCP is still written to the same log file.

Is this possible? Can someone please show me how to do this?

Thanks in advance!
2 REPLIES 2
Steve Steel
Honored Contributor

Re: Help with NETTL

Hi

Best bet is

nettlconf(1M) nettlconf(1M)

NAME
nettlconf - configure network tracing and logging command subsystem
database

SYNOPSIS
/usr/sbin/nettlconf -status

/usr/sbin/nettlconf -L [-console conlog] [-portsize logportsize]
[-space maxlogspace] [-filename logfilename] [-option logoptfile]

/usr/sbin/nettlconf [-S] -id ssid -name ssname [-class logclass]
[-kernel|-st[reams]] -lib sslib -msg ssmsgcat [-fmtfn fmtfunc]
[-optfn optfunc] -group ssgrpname

/usr/sbin/nettlconf -delete ssid


NAME
nettlgen.conf - network tracing and logging configuration file

SYNOPSIS
/etc/nettlgen.conf

DESCRIPTION
/etc/nettlgen.conf,gpr the configuration file for Common Network
Tracing and Logging commands, contains configuration information used
by the nettl and netfmt commands (see nettl(1M) and netfmt(1M)). The
nettlconf command (see nettlconf(1M)) maintains log and subsystem data
in this file, allowing subsystems to safely add, modify, or delete
existing entries in the file. nettlconf also allows system
administrators to customize logging resource usage parameters and file
names in the file. Changes to this file should only be made using the
nettlconf command.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Franky_1
Respected Contributor

Re: Help with NETTL

Hi,

i think there should be an option to determine the trace filename

-file

Regards

Franky
Don't worry be happy