06-29-2007
thanks ghostdog..
i am a newbie into unix..i am learning it...but am not a programmer basically..so its kinda painstaking to learn about unix programming
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
guys,
i am creating a script to monitor our sun solaris unix server and email me the result of the script. currently, i am using the prtdiag -v command in the script to diagnose the hardware specs of the server. any suggestions on what else could i add like disk monitoring (using df)...
... (1 Reply)
Discussion started by: maztahvoodoo
1 Replies
2. AIX
Hi All,
I would like to monitor the volume of Data that is transferred through a single port in AIX. I have nmon installed in my machine. What is the best possible solution for this problem.
Thanks in Advance. (3 Replies)
Discussion started by: bravo13
3 Replies
3. Shell Programming and Scripting
hi friends,
I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below
i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines .
1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies
4. Solaris
I would like to know if it is possible to read from an I/O Port in solaris. I need to monitor the parallel port of 1 PC and save all the incoming and outgoing messages. I use a SPARC Solaris running Solaris 2.5.1. I have seen a driver for x86 based systems but none for SPARC.
Any help on how to... (8 Replies)
Discussion started by: devjay
8 Replies
5. Shell Programming and Scripting
hi,
when i finish running some scripts in unix...some csv file is getting generated...now im manually taking this csv file from this generated directory and using FTP, i'm importing to windows os and saving in a directory...
please give me a script to automate this..so that i can add in my... (1 Reply)
Discussion started by: dll_fpga
1 Replies
6. Shell Programming and Scripting
Hi All,
Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them.
my input would be users list,directory path and the file size (say 5 GB)
... (11 Replies)
Discussion started by: anman0523
11 Replies
7. Shell Programming and Scripting
Hi,
I have been working on writing an automated script that will run 24x7 to monitor the performance parameters like CPU,Memory,Disk I/O,Network,SWAP Space etc for all types of Unix servers ( HP-UX,AIX,SOLARIS,LINUX).
Problem is I am confused with the commands top,prstat,vmstat,free,sar etc.... (4 Replies)
Discussion started by: ssk250
4 Replies
8. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
9. UNIX for Beginners Questions & Answers
hi,
i would like to create a bash script that check which port in my Linux server are closed (not in use) from a specific range, port range (3000-3010).
the print output need to be only 1 port, and it will be nice if the output will be saved as a variable or in same file.
my code is:
... (2 Replies)
Discussion started by: yossi
2 Replies
LEARN ABOUT OPENSOLARIS
netid
netid(4) File Formats netid(4)
NAME
netid - netname database
SYNOPSIS
/etc/netid
DESCRIPTION
The netid file is a local source of information on mappings between netnames (see secure_rpc(3NSL)) and user ids or hostnames in the local
domain. The netid file can be used in conjunction with, or instead of, the network source: NIS or NIS+. The publickey entry in the nss-
witch.conf (see nsswitch.conf(4)) file determines which of these sources will be queried by the system to translate netnames to local user
ids or hostnames.
Each entry in the netid file is a single line of the form:
netname uid:gid, gid, gid...
or
netname 0:hostname
The first entry associates a local user id with a netname. The second entry associates a hostname with a netname.
The netid file field descriptions are as follows:
netname The operating system independent network name for the user or host. netname has one of two formats. The format used to specify
a host is of the form:
unix.hostname@domain
where hostname is the name of the host and domain is the network domain name.
The format used to specify a user id is of the form:
unix.uid@domain
where uid is the numerical id of the user and domain is the network domain name.
uid The numerical id of the user (see passwd(4)). When specifying a host name, uid is always zero.
group The numerical id of the group the user belongs to (see group(4)). Several groups, separated by commas, may be listed for a
single uid.
hostname The local hostname (see hosts(4)).
Blank lines are ignored. Any part of a line to the right of a `#' symbol is treated as a comment.
EXAMPLES
Example 1 A sample netid file.
Here is a sample netid file:
unix.789@West.Sun.COM 789:30,65
unix.123@Bldg_xy.Sun.COM 123:20,1521
unix.candlestick@campus1.bayarea.EDU 0:candlestick
FILES
/etc/group groups file
/etc/hosts hosts database
/etc/netid netname database
/etc/passwd password file
/etc/publickey public key database
SEE ALSO
netname2user(3NSL), secure_rpc(3NSL), group(4), hosts(4), nsswitch.conf(4), passwd(4), publickey(4)
SunOS 5.11 23 May 1994 netid(4)