Search Results

Search: Posts Made By: kg_gaurav
7,704
Posted By kg_gaurav
i guess `prstat` can give your result
i guess `prstat` can give your result
Forum: Solaris 03-22-2014
3,520
Posted By kg_gaurav
Job Run Slower using Autosys than running through terminal
Hi All,

We run Many jobs evryday using Autosys. Sometimes due to various reason we got to run the job from terminal as well (using nohup).
We observed that the job running through...
834
Posted By kg_gaurav
Use below script to convert the file into csv and...
Use below script to convert the file into csv and then strip out your fields


while read rec
do
txt=`echo $rec|grep [a-zA-Z]`
if [ ! -z $txt ]
then
newrec=
...
5,286
Posted By kg_gaurav
Nor sure but seems like your ~/.ssh/id_rsa or...
Nor sure but seems like your ~/.ssh/id_rsa or ~/.ssh/id_dsa file is currupted.
Check that once.
Forum: Programming 12-28-2013
1,281
Posted By kg_gaurav
i think using timer control and timer_tick event...
i think using timer control and timer_tick event would be better. Google it.
Forum: Programming 12-28-2013
2,850
Posted By kg_gaurav
Use of cdev_alloc function
I'm creating a char device I'm initiating my cdev as below

dev=cdev_alloc(); //dev is struct cdev* declare with global scope
if(dev)
{
cdev_init(dev,&file_ops);//file_ops is struct...
3,234
Posted By kg_gaurav
Certification For Linux Device Driver Programming
Hi All,
I'm looking for role change to Linux device Driver developer. My current role has no connection to Linux Device driver development and hence to support my stand i want to do a certification...
Forum: Red Hat 11-29-2013
1,438
Posted By kg_gaurav
ps -ef|grep '<time>' should work To be...
ps -ef|grep '<time>'
should work

To be more specific use

ps -fu <process owner>|grep <time>
1,532
Posted By kg_gaurav
I think breaking codes will be easier Here's...
I think breaking codes will be easier
Here's how it goes

dt=`date +%Y%m%d` # file's datstamp
ls -1 c4_ai_account[0-9][0-9]_${dt}.dat|wc -l>/tmp/detailfile #copying detail files to tmp file
for...
1,342
Posted By kg_gaurav
try with ls -l ${i}_*>> $i_file.lst
try with
ls -l ${i}_*>> $i_file.lst
1,629
Posted By kg_gaurav
can you clear the scenario. from your code i...
can you clear the scenario. from your code i understood that you are searching many files and trying to grep some string and printing report on that basis.
Please provide the file pattern and...
Forum: Programming 09-08-2013
1,096
Posted By kg_gaurav
i string with printf instead of cout and i got 0
i string with printf instead of cout and i got 0
Forum: Programming 09-08-2013
3,598
Posted By kg_gaurav
i'll try your code on my machine once i'll get to...
i'll try your code on my machine once i'll get to home but i would rather like to do this by
void p_array(int arr[])
{
int *a = arr;
// int size = sizeof (arr) / sizeof (arr[0]);
...
Forum: Solaris 09-08-2013
4,787
Posted By kg_gaurav
this link worked for me in Linux How to Use the...
this link worked for me in Linux
How to Use the Fast and Powerful Mutt Email Client with Gmail (http://lifehacker.com/5574557/how-to-use-the-fast-and-powerful-mutt-email-client-with-gmail)
Forum: Programming 07-25-2013
16,159
Posted By kg_gaurav
What is use of "char __user *buf"?
I have seen several function containing "char __user *buf" as parameter.
this is disturbing my basic knowledge of c

the basic syntax says
char *buf means buf is a pointer which points to a char...
6,092
Posted By kg_gaurav
How mailx -r works?
I'm using Sun Solaris.
I used mailx -r "MyEmailId" -s "sub" "toEmailID" from my unix id and it worked.
But when i run the same script from other's unix id it works as well. mean any one in my...
1,157
Posted By kg_gaurav
all right then once i downloaded kernel source...
all right then once i downloaded kernel source and wanna compile it. mean just wanna get binary. what should i do?
Forum: Linux 06-14-2013
4,418
Posted By kg_gaurav
yes i think and by definition vruntime should be...
yes i think and by definition vruntime should be total time elapsed and unweighted. right?
1,129
Posted By kg_gaurav
Graphics Driver Support in Linux
It's not exactly a question and more of a discussion.

I found very less graphics application being developed for linux system. I'm not really fond of graphics programming and have a very little...
1,993
Posted By kg_gaurav
for test_data in fa.info.* do temp=`echo...
for test_data in fa.info.*
do
temp=`echo "$test_data"|grep -v 'abcd|bxde|cdas'`
#use temp variable instead of test_data
done



you got to replace 'abcd|bxde|cdas' with a logic which...
Forum: Linux 05-31-2013
4,418
Posted By kg_gaurav
Difference between vruntime and sum_exec_runtime
While studying linux scheduler i looked into strct sched_entity and update_curr function which accounts for how much time a process have run.
The code says that vruntime is incremented by a...
1,464
Posted By kg_gaurav
Plese try with following code ...
Plese try with following code


file1='path to file containing matchable lines';
file2='path to file to match';
file3='path to line with replacable lines;
file4='path to result file'
...
2,459
Posted By kg_gaurav
Not tested but this should work l=wc -l ...
Not tested but this should work

l=wc -l
l=`echo $l -1 |bc`
for name in `tail -$l $file|awk '{print $1}'|`
do
tmp=`echo name|grep -Po '^[a-z]+$'`
if [ "$tmp" = "$name" ]
echo $name
fi...
2,303
Posted By kg_gaurav
may i know which shell are you using as $GREP...
may i know which shell are you using as $GREP seems more like a shell variable then grep(in smaller case) command.
1,157
Posted By kg_gaurav
Building Light weight Distro
Don't know whether this is right category for this question. I request please consider it and advice correct cotegory if required. Here goes my question.

I want to build a distribution using...
Showing results 1 to 25 of 45

 
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy