I have a server that has its storage as NetApp and the connection to it is via iscsi protocol, and we are having issues posted on
related to iscsi
So I was tryng to figure it out what is the problem??
Actually I want to display the entire output fired by ps command. My output gets trucated after 80 chars.
Thus, i am not able to see the entire command running when i give a ps -eaf ....
Does anyone know how do i display the entire output fired by ps command .. (i.e the command along with... (5 Replies)
Hi.
I'm trying to capture traffic with the snoop command using the net expression but I fail when a I've to specify a subnet
ex: 10.201.64/18
Did you know the correct syntax?
I've tried with
snoop -ta -x0 net 10.201.64.0 255.255.192.0
but doesn't match.
Thnx (4 Replies)
Hello All,
I have a an application written in C and runing on Red Hat Linux.
In my code I have written a command that is fired on the linux shell by using system() function call.
Now I need to read the output of this command in my c program and assign it to a variable.
Can anyone... (1 Reply)
Hi Everyone :),
Need your advice as I'm new to UNIX scripting.. I'm trying to write a script to capture snoop output for 5 minutes for every hour for 24 hours. To stop snoop, I need to press Control-C to break it. This is what I got so far, but now I'm stuck! :confused:
The script:
# cat... (2 Replies)
Hi All,
How I will read the output of the tail -F command in perl.
I have text file with below contains
file1.txt
1
2
3
4
$running=1;
sub openLog($)
{
(my $log) = @_; (1 Reply)
Hi all,
Is it possible to create an script that parse an snoop output similar to the example above ? Each line is ended by "$" (set list in vi). as a result, I would like to print the output in only one line.
can someone give me some tip ?
Thanks a lot .:)
l version="1.0" ... (5 Replies)
Hey, guys!
Trying to research this is such a pain since the read command itself is a common word. Try searching "unix OR linux read command examples" or using the command substitution keyword. :eek:
So, I wanted to use a command statement similar to the following.
This is kinda taken... (2 Replies)
Hi. I'm trying to write a script that reads a line on a file and runs a different command for a different line output.
For example, if it finds the word "Kuku" on the line it sends mail to Kuku@kuku.com. Otherwise, it sends mail to Lulu@lulu.com.
TIA. (2 Replies)
I'm working on a short BASH script on my Ubuntu box that will run powerpoint scripts with MS Powerpoint Viewer 2007 via WINE.
I can run the presentation when I run it manually but what i'd like to do is have the script look for the newest file then run it.
#! /bin/sh
# Start the newest... (2 Replies)
Hi Folks,
I'm currently trying to read several values into different variables.
Actually, what I'm doing works, but I get an error message.
My attempts are:
read strCPROC strIPROC strAPROC <<<$(ssh -n -T hscroot@$HMC "lshwres -r proc -m $strIDENT --level sys -F \"configurable_sys_proc_units... (11 Replies)
Discussion started by: NKaede
11 Replies
LEARN ABOUT REDHAT
iscsi.conf
ISCSI.CONF(5) File Formats Manual ISCSI.CONF(5)NAME
iscsi.conf - iSCSI Target and LUN configuration
SYNOPSIS
/etc/iscsi.conf
DESCRIPTION
This manual page describes the format of the /etc/iscsi.conf file. This file is a simple text file that iscsid(8) uses to locate iSCSI tar-
get devices and LUNs. Comments are marked by lines beginning with '#'.
Available entries include:
DiscoveryAddress=<address>
IP address or hostname to use for target discovery. A TCP port number may be specified by appending a colon followed by the port
number. This entry must start in the first column, and must not contain any whitespace.
TargetIpAddr=<address>
A synonym for DiscoveryAddress.
Username=<user>
Specify the authentication user. If this entry precedes all DiscoveryAddress entries, it serves as the default. If this entry is
indented under a DiscoveryAddress entry, it specifies the user for all targets discovered at that IP address.
Password=<pass>
Specify the authentication password for the previously listed iSCSI If this entry precedes all DiscoveryAddress entries, it serves
as the default. If this entry is indented under a DiscoveryAddress entry, it specifies the user for all targets discovered at that
IP address.
EXAMPLE
# set the default user and password
Username=alice
Password=nty57nbe
# targets at this address will use the default Username and Password
DiscoveryAddress=192.168.10.94
# targets at this address will use the Username and Password below
DiscoveryAddress=192.168.10.95
Username=beatrice
Password=93fdgc20
NOTES
The iSCSI initiator drivers, README files, and example configuration files are available on the Linux-iSCSI homepage at:
http://linux-iscsi.sourceforge.com <http://linux-iscsi.sourceforge.com>
FILES
/etc/iscsi.conf
iSCSI Target and LUN configuration
SEE ALSO iscsid(8)
$Revision: 1.9 $ $Date: 2002/09/19 20:00:32 $ ISCSI.CONF(5)