10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
Need some help.
I am trying below code programatically to login to ssh ip from a csv file.
the below code logging into all servers and executing some command line syntax. But what I need is for example if i have 5 IP's ,if first one connects successfully and executes the... (3 Replies)
Discussion started by: onenessboy
3 Replies
2. Programming
Hi friends,
Hope everybody is fine. First have a look at my code, then we will talk about it.
$ cat copy.c
#include <stdio.h>
#define PERMS 0644 /* RW for owner, R for group, others */
#define BUFSIZE 1
char *progname;
int main(int argc,char * argv)
{
int f1, f2, n;
... (4 Replies)
Discussion started by: gabam
4 Replies
3. Shell Programming and Scripting
Hi Experts,
I have a script like
$ORACLE_HOME/bin/sqlplus username/password # << ENDSQL
set pagesize 0 trim on feedback off verify off echo off newp none timing off
set serveroutput on
set heading off
spool Schemaerrtmp.txt
select ' TIMESTAMP COMPUTER NAME ... (5 Replies)
Discussion started by: welldone
5 Replies
4. Shell Programming and Scripting
Hi,
I am trying to get the system RAM size from "top" command's output by the following but it is not working.
top | sed "s/^Mem.**\(*\), *//" (10 Replies)
Discussion started by: royalibrahim
10 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have checked the output of top command in which there is a difference shown between the swap of top command for a process with total swap memory usage of the top command.
Swap usage of process is higher than the total swap memory usage.
top - 18:28:21 up 7:13, 5 users, load... (2 Replies)
Discussion started by: gagan2914
2 Replies
6. Shell Programming and Scripting
Hi,
I am new to Unix.
I want to display top 10 folders by size.
I tried with
du -ksl * | sort -nr | head -10
command .But I am getting the following error
-bash: /usr/bin/du: Argument list too long
Can some one help me.
Thanks. (5 Replies)
Discussion started by: Satyak
5 Replies
7. Shell Programming and Scripting
hi all,
there is any command or anything we can use to read the file name and size. thanks (6 Replies)
Discussion started by: s_linux
6 Replies
8. UNIX for Dummies Questions & Answers
I need to write a Unix shell script which will list top 10 files in a directory tree on basis of size. i.e. first file should be the biggest in the whole directory and all its sub directories.
Please suggest any ideas (10 Replies)
Discussion started by: abhilashnair
10 Replies
9. Programming
Hi all,
Can u give me some suggestions how to add Ip Address through Programmatically , Actually I done it in Windows But now I want same thing in Unix................................
Can Any body Help to me....... (6 Replies)
Discussion started by: ykmraju
6 Replies
10. Shell Programming and Scripting
Hi, what I want to do is get the SIZE of a particular process from top into a shell script so I can put it in a while loop. I want to display a warning message when the process size gets up to a certain amount, but I don't know how to get that one line spit out from Top and thrown into my shell... (5 Replies)
Discussion started by: satraver
5 Replies