10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
Discussion started by: DevendraG
2 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
My colleague says . On some boxes we have /var/,/opt are inside root and on some they are not on root they are separately. So please any one explain me what actually the difference is.
Thanks is Advance. (3 Replies)
Discussion started by: rama krishna
3 Replies
3. UNIX for Advanced & Expert Users
Hello masters,
Actually, i am user of Ubuntu, but I want to use Debian too.
I have a computer with a product key for w7 so i will use too, only for games...
The structure I have thought is the next with 1TiB of capacity.
Primary: 50 GB NTFS for W7
Extended:
Logical: 20 GB FAT32... (3 Replies)
Discussion started by: albertogarcia
3 Replies
4. Shell Programming and Scripting
How would i display the output of /proc/partitions in gb representation/
Please help.
Also eager to know what is dm-0 and dm-1?
# cat /proc/partitions
major minor #blocks name
3 0 8388608 hda
3 1 104391 hda1
3 2 8281507 hda2
3 64 102400 hdb
... (7 Replies)
Discussion started by: pinga123
7 Replies
5. Shell Programming and Scripting
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
Discussion started by: balaeswari
6 Replies
6. UNIX for Dummies Questions & Answers
If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1):
• Processor type
• Kernel version
• Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies
8. Shell Programming and Scripting
I would like to use the result of a query in another query. How do I redirect/add the output to another variable?
$result = odbc_exec($connect, $query);
while ($row = odbc_fetch_array($result)) {
echo $row,"\n";
}
odbc_close($connect);
?>
This will output hostnames:
host1... (0 Replies)
Discussion started by: hazno
0 Replies
9. UNIX for Advanced & Expert Users
HI.
i installed solaris on a x86 machine and i only partition for 4 gig when it suppose to be 8. i only using 4 gig right now how can i start using the other four. please help, thanks in advance
Meeh (2 Replies)
Discussion started by: souldier
2 Replies
10. UNIX for Dummies Questions & Answers
hi,
we all know /proc is about the information of active process,
I have just read an artical which said you can use /proc/cpuinfo,
/proc/net./proc/meminfo etc. to know about some hardware
information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies