09-14-2010
Dear Frank,
I am a SAP Developer, I have very little knowledge of Unix scripts. I will try to find out from the unix help. Thank you.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Would appreciate if any one can paste a generic schell script to archive a file with date stamp by passing the file with fullpath as parameter
For Eg. /apps/scripts/Archive_File.sh /data_home/project_home/file.txt
this should place the file in the following directory
... (8 Replies)
Discussion started by: mak1600
8 Replies
2. Shell Programming and Scripting
#SD=source dir TD= target dir
SD="$/amddev/app01/manoj/new/scripts/old"
TD="$/amddev/app01/manoj/new/scripts/new"
EXT="$*.txt"
for i in `ls -F "$SD"/*"$EXT"|grep -v /$` do
mv "$SD" "$TD"
if
then
echo "$i" successfully moved
echo Manoj successfully..1 ( here i... (8 Replies)
Discussion started by: manojkarthi
8 Replies
3. Shell Programming and Scripting
Hi ,
I need a shell script which basicaly moves all the files from one folder say folder x to folder y and once they are moved to folder y a datetimestamp should be attached to there name
for ex
file a should be moved to y folder and renamed as a_20081015 (1 Reply)
Discussion started by: viv1
1 Replies
4. Shell Programming and Scripting
Hi All
I need a shell script for move the 1 year old files from one folder to another folder with date and time.
How to write a shell script for the same pls hepl me out.
thanx in advance
Thanx
Lalit (2 Replies)
Discussion started by: lalitkumar
2 Replies
5. Shell Programming and Scripting
Hi
I need to move last 1 year old files from one folder to another location on same server.How to write a shell script for the same?
thanx
Lalit (8 Replies)
Discussion started by: lalitkumar
8 Replies
6. Shell Programming and Scripting
Hi All,
I'm trying to write a script which will do following :
- For any old log under trace directory, if found move it to Archive
- Check for a process “process-A” if it is running abort from the script
- Else start it up (start_process-A.sh this case)
- If it fails to start the... (1 Reply)
Discussion started by: mohullah
1 Replies
7. Shell Programming and Scripting
Hello All,
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
ex:
capacity
... (4 Replies)
Discussion started by: sasikanthdba
4 Replies
8. Ubuntu
There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/logyou need to find out all the log files of last 1 month and move them into $HOME/logs/lastmonth/
this should be implemented with reference of file name.
---------- Post updated at 12:30 PM ----------... (3 Replies)
Discussion started by: shajoftaj
3 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/log you need to find out all... (4 Replies)
Discussion started by: shajoftaj
4 Replies
10. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
LEARN ABOUT OPENSOLARIS
afe
afe(7D) Devices afe(7D)
NAME
afe - ADMtek Fast Ethernet device driver
SYNOPSIS
/dev/afe
DESCRIPTION
The afe driver is a multi-threaded, loadable, clonable, GLD-based STREAMS driver supporting the Data Link Provider Interface dlpi(7P) on
ADMtek (now Infineon) Centaur and Comet Fast Ethernet controllers.
APPLICATION PROGRAMMING INTERFACE
The afe driver can be used as either a "style 1" or a "style 2" Data Link Service Provider. Physical points of attachment (PPAs) are inter-
preted as the instance number of the afe controller as assigned by the Solaris operating environment.
The relevant fields returned as part of a DL_INFO_ACK response are:
o Maximum SDU is 1500.
o Minimum SDU is 0.
o The dlsap address length is 8.
o MAC type is DL_ETHER.
o SAP length is -2. The 6-byte physical address is followed immediately by a 2-byte SAP.
o Service mode is DL_CLDLS.
o Broadcast address is the 6-byte Ethernet broadcast address (ff:ff:ff:ff:ff:ff).
If the SAP provided is zero, then IEEE 802.3 mode is assumed and outbound frames will have the frame payload length written into the type
field. Likewise, inbound frames with a SAP between zero and 1500 are interpreted as IEEE 802.3 frames and delivered to any streams that are
bound to SAP zero (the 802.3 SAP).
PROPERTIES
The following properties may be configured using either ndd(1M) or the afe.conf configuration file as described by driver.conf(4):
adv_autoneg_cap
Enables (default) or disables IEEE 802.3u auto-negotiation of link speed and duplex settings. If enabled, the device negotiates among
the supported (and configured, see below) link options with the link partner. If disabled, at least one of the link options below must
be specified. The driver selects the first enabled link option according to the IEEE 802.3u specified preferences.
adv_100T4_cap
Enables the 100 BaseT4 link option. (Note that most hardware does not support this unusual link style. Also, this uses two pairs of
wires for data, rather than one.)
adv_100fdx_cap
Enables the 100 Base TX full-duplex link option. (This is generally the fastest mode if both link partners support it. Most modern
equipment supports this mode.)
adv_100hdx_cap
Enables the 100 Base TX half-duplex link option. (Typically used when the link partner is a 100 Mbps hub.)
adv_10fdx_cap
Enables the 10 Base-T full-duplex link option. (This less-frequently used mode is typically used when the link partner is a 10 Mbps
switch.)
adv_10hdx_cap
Enables the 10 Base-T half-duplex link option. (This is the fall-back when no other option is available. It is typically used when
the link partner is a 10 Mbps hub or is an older network card.)
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SPARC, x86 |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
FILES
/dev/afe
Special character device.
/kernel/drv/afe
32-bit driver binary (x86).
/kernel/drv/amd64/afe
64-bit driver binary (x86).
/kernel/drv/sparcv9/afe
64-bit driver binary (SPARC).
/kernel/drv/afe.conf
Configuration file.
SEE ALSO
ndd(1M), driver.conf(4), attributes(5), streamio(7I), dlpi(7P)
IEEE 802.3 -- Institute of Electrical and Electronics Engineers, 2002
SunOS 5.11 1 Apr 2007 afe(7D)