06-26-2006
Thanks a lot it works.............
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello gurus ,
i want to merge different column from two different file. file struture is below.
file 1
-------
~information is given
Name class section
A 5 b
B 7 C
D 8 A
file 2 (10 Replies)
Discussion started by: rahul sharma11
10 Replies
2. Shell Programming and Scripting
hi
i have file which hav following entries
1501,AAA,2.00
1525,AAA,2.00
1501,AAA,2.00
1525,AAA,2.00
1501,AAA,3.00
1525,AAA,3.00
1525,AAA,3.00
1501,AAA,3.00
1501,AAA,3.00
i want to have a o/p coloum wise
like
1501,AAA,13
1525,AAA,10
here 13 comes as a sum of last colum value... (6 Replies)
Discussion started by: aaysa123
6 Replies
3. Shell Programming and Scripting
Hi,
I am trying to replace a specific column values in a csv file with double quotes.
Example:
SNO,NAME,ZIPCODE,RANK
1,Robert,74538,12
2,Sam,07564,13
3,Kim, Ed,12345,14
Desired Output:
SNO,NAME,ZIPCODE,RANK
1,Robert Ken,74538,12
2,Sam Mik,"07564",13
3,"Kim, Ed",12345,14
I... (3 Replies)
Discussion started by: techmoris
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I want to display all the directories with ascending order in size. For example,
$ du -k .
1111111 ./dir1
222222222 ./dir2
333333333 ./dir3
444444444 ./dir4
How do i get the above desired result with du -k . command?
Thanks (1 Reply)
Discussion started by: welldone
1 Replies
5. Shell Programming and Scripting
I have a txt file having rows and coulmns, i want to perform some operation on a specific coulmn starting from a specific line.
eg:
50.000000 1 1 1
1000.00000
1000.00000
50000.000
19
19
3.69797533E-07 871.66394 ... (3 Replies)
Discussion started by: shashi792
3 Replies
6. Shell Programming and Scripting
hello all, I have a simple script that i am trying to learn this off from...i am an oracle DBA....
here is the script...
cat b.sh
. oraenv
cd $ORACLE_HOME
echo $ORACLE_HOME
echo 'TYPE 1 TO PROCESS OR 2 TO STOP'
echo '1 OR 2'
read ok
if ok=1; then
echo 'you provided YES answer to... (2 Replies)
Discussion started by: abdul.irfan2
2 Replies
7. Shell Programming and Scripting
Hi,
I have 25 groups and I need to perform all possible pairwise compariosns between them using the formula n(n-1)/2. SO in my case it will be 25(25-1)/2 which is equal to 300 comparisons.
my 25 groups are
FG1 FG2 FG3 FG4 FG5
NT5E CD44 CD44 CD44 AXL
ADAM19 CCDC80 L1CAM L1CAM CD44... (1 Reply)
Discussion started by: Diya123
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Help,
I have an I/p, which looks like ---
FF
GG
HH
I want the o/p to be like ---
FF GG HH.
How we can do that?
Thanks (7 Replies)
Discussion started by: Indra2011
7 Replies
9. Shell Programming and Scripting
Hello everzone,
I have a column of values and i need to find arcsin for evry value in this column. I am very new to shell scripting and would be glad to receive any help regarding this. Also i want them to be saved in the next column.
Desired output:
# #
a arcsin(a)
b arcsin(b)
c ... (10 Replies)
Discussion started by: dinesh.n
10 Replies
10. Shell Programming and Scripting
POST_DATE CHECK_NUMBER TYPE LOGIN_NAME
2015.09.09 XXXXXXXXXX mark XXXXXXXXXX
2015.09.09 XXXXXXXXXX fsadf XXXXXXXXXX
2015.10.05 XXXXXXXXXX defaa XXXXXXXXXX
2015.10.05 XXXXXXXXXX dewe XXXXXXXXXX
2015.10.06 XXXXXXXXXX dqwe XXXXXXXXXX
2015.09.14 XXXXXXXXXX dt4e XXXXXXXXXX... (22 Replies)
Discussion started by: nikhil jain
22 Replies
LEARN ABOUT NETBSD
cpuset_clr
CPUSET(3) BSD Library Functions Manual CPUSET(3)
NAME
cpuset_create, cpuset_destroy, cpuset_zero, cpuset_set, cpuset_clr, cpuset_isset, cpuset_size -- dynamic CPU sets
SYNOPSIS
#include <sched.h>
cpuset_t *
cpuset_create(void);
void
cpuset_destroy(cpuset_t *set);
void
cpuset_zero(cpuset_t *set);
int
cpuset_set(cpuid_t cpu, cpuset_t *set);
int
cpuset_clr(cpuid_t cpu, cpuset_t *set);
int
cpuset_isset(cpuid_t cpu, const cpuset_t *set);
size_t
cpuset_size(const cpuset_t *set);
DESCRIPTION
This section describes the functions used to create, set, use and destroy the dynamic CPU sets.
This API can be used with the POSIX threads, see pthread(3) and affinity(3).
The ID of the primary CPU in the system is 0.
FUNCTIONS
cpuset_create()
Allocates and initializes a clean CPU-set. Returns the pointer to the CPU-set, or NULL on failure.
cpuset_destroy(set)
Destroy the CPU-set specified by set.
cpuset_zero(set)
Makes the CPU-set specified by set clean, that is, memory is initialized to zero bytes, and none of the CPUs set.
cpuset_set(cpu, set)
Sets the CPU specified by cpu in set. Returns zero on success, and -1 if cpu is invalid.
cpuset_clr(cpu, set)
Clears the CPU specified by cpu in the CPU-set set. Returns zero on success, and -1 if cpu is invalid.
cpuset_isset(cpu, set)
Checks if CPU specified by cpu is set in the CPU-set set. Returns the positive number if set, zero if not set, and -1 if cpu is
invalid.
cpuset_size(set)
Returns the size in bytes of CPU-set specified by set.
SEE ALSO
affinity(3), pset(3), sched(3), schedctl(8), kcpuset(9)
HISTORY
The dynamic CPU sets appeared in NetBSD 5.0.
BSD
November 2, 2011 BSD