11-03-2005
missing Path(in UNIX) when i launch a job on to unix machine using windows SSh
hi
i want run an unix application from a windows program/application.i am using SSH(command line version)to log on to a unix machine from windows. the application has to read a configuration file inorder to run. the configuration file .CFG is in bin in my home directory. but the application searches for .CFG in the root bin. what sould i do to overcome this?
when i open a ssh window and run this unix application it runs fine i.e it searches in the correct place for .CFG
your help is appreciated.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello guys ,
Is there a way to backup unix files from a windows 2003 server
i have a tape drive in the unix box but just for extra security what would be the best way to backup unix files .
Thanks a lot (7 Replies)
Discussion started by: josramon
7 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have a IP address of the target machine.Is there is any way to find out whether it is a unix box or windows box without logging into it?.
Regs
Anand (5 Replies)
Discussion started by: u449064
5 Replies
3. UNIX for Dummies Questions & Answers
I have two machines, one running Windows and another one Unix over a network. I want to execute a batch file on the Windows machine using a script running on the Unix machine.
I have tried creating a rsa key and transferrring it to the destination machine but it doesn't work. The purpose was to... (3 Replies)
Discussion started by: MobileUser
3 Replies
4. Shell Programming and Scripting
I am using windows Xp. From windows I would connect to my IBM AIX unix machine using telnet client. Is there any command available to view the IP address of Windows machine from Unix? (Note that ifconfig will give unix mahcine's IP address currently logged in.) (3 Replies)
Discussion started by: mvictorvijayan
3 Replies
5. Shell Programming and Scripting
i need to ftp a file from windows to a unix machine by executing a sript(perl/shell/php) from that unix machine.i can also use HTML and javascript to build forms. (3 Replies)
Discussion started by: raksha.s
3 Replies
6. Shell Programming and Scripting
Hello World,:cool:
Is there a Way to create a UNIX enviornment on Windows bases Machine for enchancing my Skills regarding UNIX scripting.:confused:
I know a software name VMware but i dont know how to confiure it:rolleyes:. If this is the apporitate tool for UNIX please guide me the... (3 Replies)
Discussion started by: jojo123
3 Replies
7. UNIX for Dummies Questions & Answers
What is the best way to learn UNIX, shell, and Perl on a Windows 2000 machine? My place of employment uses Solaris and Perl and I would like to learn some UNIX skills on my home PC.
I read about "dual boots", "Microsoft Windows Services for UNIX", and "cygwin". What other free options are... (9 Replies)
Discussion started by: wolfv
9 Replies
8. Shell Programming and Scripting
Hi Experts,
I have a requirement where i need to setup a batch job which runs everymonth and move the pdf files from unix server to windows servers.
Could some body provide the inputs for this.
and also please provide the inputs on how to map the network dirve in the unix like that... (1 Reply)
Discussion started by: ger199901
1 Replies
9. UNIX Desktop Questions & Answers
Hello,
I am pretty new to UNIX and would like to know how i can run unix commands on a windows 7 machine. Basically, I want to practice running commands, created bash/awk/etc. scripts. I've read some things about cygwin, but it doesn't sound like it's exactly what I'm looking for.
Any... (4 Replies)
Discussion started by: tester213
4 Replies
10. Shell Programming and Scripting
hi,
i am using ftp command to transfer files from unix server to windows server using a web interface.
there is a shell script which is called by the web page which executes a ftp command which (ftp) tries to connect to the windows machine and asks for username and password.
so in order to... (6 Replies)
Discussion started by: Little
6 Replies
LEARN ABOUT DEBIAN
lldptool-ets
lldptool(8) Linux lldptool(8)
NAME
ETS-{CFG|REC} - Show / manipulate ETS TLV configuration
SYNOPSIS
lldptool -t -i ethx -V ETS-CFG <-c CONFIG_ARG ...>
CONFIG_ARG := { enableTx | willing | tsa | up2tc | numtcs | tcbw }
lldptool -T -i ethx -V ETS-CFG CONFIG_ARG=value ...
CONFIG_ARG :=
enableTx = {yes|no} |
willing = {yes|no} |
tsa = tc:{ets|strict|vendor},... |
up2tc = priority:tc,... |
tcbw = bw1,bw2,...
lldptool -t -i ethx -V ETS-REC <-c CONFIG_ARG ...>
lldptool -T -i ethx -V ETS-REC CONFIG_ARG=value ...
CONFIG_ARG :=
enableTx = {yes|no} |
tsa = tc:{ets|strict|vendor},... |
up2tc = priority:tc,... |
tcbw = bw1,bw2,...
DESCRIPTION
The Extended Transmission Selection (ETS) feature has a recommendation TLV and a configuration TLV configured with ETS-REC and ETS-CFG
respectively.
ARGUMENTS
enableTx
Enables the ETS TLV to be transmitted
willing
Sets the ETS-CFG willing bit
tsa Transmission selection algorithm, sets a comma separated list of traffic classes to the corresponding selection algorithm. Valid
algorithms include "ets", "strict" and "vendor".
up2tc Comma separated list mapping user priorities to traffic classes.
tcbw Comma separated list of bandwiths for each traffic class the first value being assigned to traffic class 0 and the second to traffic
class 1 and so on. Undefined bandwidths are presumed to be 0.
numtcs Sets/Displays the number of ETS supported traffic classes.
Theory of Operations
IEEE 802.1Qaz is enabled by default on hardware that supports this mode indicated by support for the DCBNL interface. Kernel config option
CONFIG_DCB. The ETS-CFG TLV is advertised by default with the attributes indicated by querying the hardware for its current configuration.
A valid configuration is to map all priorities to a single traffic class and use the link strict selection algorithm. This is equivalent to
being in a non-DCB enabled mode.
To support legacy CEE DCBX the ETS-CFG and ETS-REC TLVs are disabled if a CEE TLV is received and there are no valid IEEE 802.1Qaz TLVs
present. At this time the hardware DCBX mode will be set to CEE and IEEE mode is disabled. This allows switches to be configured and end
nodes will then be configured accordingly without any configuration required on the end node.
Mapping applications and protocols to traffic classes is required for ETS to be useful. User space programs can encode the priority of an
application with the SO_PRIORITY option. Low level drivers that support priority to traffic class mappings may enable this mode by default.
For drivers that do not support this mode manual configuration can support this mode of operation see tc-mqprio(8) and tc-multiq. Addi-
tionally, tc qdiscs and filters can be used to map protocols to queues see tc(8) for more details along these lines. Finally, many drivers
have support for specific protocols ie Fiber Channel over Ethernet (FCoE).
EXAMPLE & USAGE
Configure willing bit for interface eth2
lldptool -T -i eth2 -V ETS-CFG willing=yes
Configure traffic classes for ETS and strict priority on eth2
lldptool -T -i eth2 -V ETS-CFG tsa=0:ets,1:ets,2:ets,3:ets,4:strict,5:strict
Configure 1:1 mapping from priority to traffic classes on eth2
lldptool -T -i eth2 -V ETS-CFG up2tc=0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7
Display local configured ETS-CFG parameters for tcbw
lldptool -t -i eth2 -V ETS-CFG -c tcbw
Display last transmitted ETS-CFG TLV
lldptool -t -i eth2 -V ETS-CFG
Configure ETS-CFG and ETS-REC for default DCB on eth2
lldptool -T -i eth2 -V ETS-CFG tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets up2tc=0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7
tcbw=12,12,12,12,13,13,13,13
lldptool -T -i eth2 -V ETS-REC tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets up2tc=0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7
tcbw=12,12,12,12,13,13,13,13
SOURCE
o IEEE 802.1Qaz (http://www.ieee802.org/1/pages/dcbridges.html)
NOTES
Support for tc-mqprio was added in 2.6.38 on older kernels other mechanisms may need to be used to map applications to traffic classes.
SEE ALSO
lldptool(8), lldptool-app(8), lldpad(8), tc-mqprio(8),
AUTHOR
John Fastabend
open-lldp February 2010 lldptool(8)