How can I do an and condition with fgrep.
I want to do:
ps -ef | fgrep -f searchvalues > tempmail.file
mailx -s "Email Subject" email@domain.com < tempmail.file
The search values file contains:
opt/bea.*java.*80
mysqld
What I want is to find things that contain:
mysqld OR... (7 Replies)
Im haveing a problem with a script that i am currently writing. I am new to scripting and dont know it all that well. I cant use perl so please dont post perl scripts.
The problem is when i try and asign the result of the fgrep to qdetail. It does not seem to like that assignment. any ideas... (2 Replies)
Hi Guys,
Can anyone explain why I'm getting error below? when I execute in other server there is no error, what could be the reason.
$ fgrep -f timecell.txt ldap_prev.dat
wordlist too large
$ wc -l timecell.txt ldap_prev.dat
372461 timecell.txt
3722878 ldap_prev.dat
Thanks in... (2 Replies)
Hi all,
I need to transport a number of files from one server to other. I like to ensure the integrity using file checksum values.
The action plan is,
1. create the list of checksum values for all the files using cksum command in source server.
2. Transfer all the files including the file... (5 Replies)
Hi,
I know that I can grep desired data to a file but is there a way to add an additional field of data to the output in addition to what is found. I want to add a login id to the data that is found in the grep. Is this even possible? Thanks for your help.
Toni (14 Replies)
How can we use fgrep command to search pattern on perticular field on a file.
eg : I have a parren file having format
cat patternfile
SPA16S199982
SPA5S26330
I want to seach these pattern on FIRST field of File2(since other field has
same data) and that too maching entirely.
... (10 Replies)
Hi All,
I have 2 files new.txt and old.txt
cat new.txt
sku1|v1|v2|v3
sku2|v11|v22|v33
sku3|v11|v22|v33
cat old.txt
sku1|vx1|vx2|vx3
sku2|vx11|vx22|vx33
sku3|v11|v22|v33
The key column in both files are first column itself.
I want to get records in... (6 Replies)
I want to use fgrep for a word serch ignoring case and it should dispaly word count along with the file name.
I m using below code
fgrep -wci string filenames
But it is giving error
Usage: fgrep pattern_list
fgrep ... ...
I have checked the man page... (11 Replies)
Using the fgrep command with the -v option.
I have two files:
file1:
dog 1
cat 3
bird 5
fish 7file2:
dog
catUsing fgrep -v file2 file1 According to the fgrep man page, the output should be bird5
fish 7 but I can't seem to get it to work. Any help would be appreciated. (2 Replies)
Discussion started by: jimmyf
2 Replies
LEARN ABOUT OPENSOLARIS
bscbus
bscv(7D) Devices bscv(7D)NAME
bscv, bscbus, i2bsc - Blade support chip interface driver
DESCRIPTION
The bscv, bscbus and i2bsc drivers interface with the Blade support chip used on Sun Microsystem's Blade server products. These drivers
provide a conduit for passing control, environmental, cpu signature and event information between Solaris and the Blade support chip.
These drivers do not export public interfaces. Instead they make information available via picl, prtdiag, prtfru and related tools. In
addition, these drivers log Blade support chip environmental event information into system logs.
FILES
/platform/sun4u/kernel/drv/sparcv9/bscbus
64-bit ELF kernel driver
/platform/sun4u/kernel/drv/sparcv9/bscv
64-bit ELF kernel driver
/platform/sun4u/kernel/drv/sparcv9/i2bsc
64-bit ELF kernel driver
/platform/i86pc/kernel/drv/bscbus
32-bit ELF kernel file (x86 only)
/platform/i86pc/kernel/drv/bscv
32-bit ELF kernel file (x86 only)
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |Limited to systems with |
| |Blade Support Chip |
+-----------------------------+-----------------------------+
|Availability |SUNWcar.u, SUNWcar.i |
+-----------------------------+-----------------------------+
SunOS 5.11 22 August 2003 bscv(7D)