Search Results

Search: Posts Made By: radiatejava
6,385
Posted By radiatejava
Memory usage shown is high
Hello all,
I am facing a memory related issue on my linux that is CentOS 4.0. What I see as an output of top command, free command is that memory usage is almost 90% which is quite high without much...
4,860
Posted By radiatejava
How type casting works ?
I am having a doubt with type casting in C. Very often in network programming, we have something like this:

char *data = ...;
struct iphdr *ip = (struct iphdr *) data;

where iphdr is define in...
Forum: IP Networking 05-29-2009
14,306
Posted By radiatejava
I got over the problem. Actually, when you...
I got over the problem. Actually, when you display the ssh dump over a remote monitor, even the bytes transferred for the display will be captured and will result in more packets in the tcpdump...
Forum: Programming 05-25-2009
6,955
Posted By radiatejava
How can I write the full structure (obviously I...
How can I write the full structure (obviously I am not interested in writing the pointer but the actual record) ?
Forum: Programming 05-22-2009
6,955
Posted By radiatejava
writing binary/struct data to file
I am trying to write binary data to a file. My program below:

#include <stdlib.h>
#include <stdio.h>

struct tinner {
int j;
int k[3];
};

struct touter {
int i;
struct tinner...
Forum: IP Networking 05-22-2009
14,306
Posted By radiatejava
This is not the answer I am looking for. I...
This is not the answer I am looking for. I believe tcpdump is a widely used free utility to capture network packets in a file. Can someone else update me on using tcpdump to capture all the packets...
Forum: IP Networking 05-22-2009
14,306
Posted By radiatejava
tcpdump -w file is not capturing all the packets
I am trying to capture tcpdump for traffic to a port in a file but this does not seem to capture all the packets. Command I use is :

tcpdump -w tdump.dat port 22

Why is it not capturing all the...
27,347
Posted By radiatejava
How to print something in make utility
Hi want to know the syntax of printing something (value or variable) in GNU make utility. I give this in the Makefile:

echo "Hi"
OR
@echo "Hi"

But I only get error this when I run make (at...
Forum: Programming 03-04-2009
2,836
Posted By radiatejava
Somewhat better answer by bewing at OSDev.org...
Somewhat better answer by bewing at OSDev.org &bull; View topic - POSIX threads and data safety (http://forum.osdev.org/viewtopic.php?f=13&t=19315)
Forum: Programming 03-03-2009
2,836
Posted By radiatejava
POSIX threads and data safety
I created multiple POSIX threads (on readhat Linux) in a C program in my app. What I am doing is - I am creating threads equal to the number of CPUs in the system and and equal number of instances...
11,728
Posted By radiatejava
It is red hat Linux (Red Hat Enterprise Linux AS...
It is red hat Linux (Red Hat Enterprise Linux AS release 4, Nahant Update 5 as per cat /etc/redhat-release command)
11,728
Posted By radiatejava
I am not happy with the answer - even top command...
I am not happy with the answer - even top command seems to be a snapshot of the process(es) as per manual for top.
11,728
Posted By radiatejava
Getting CPU utilization and memory for a process
I am trying to get cpu util and memory occupied for a process. I use these (I am showing output also):

using top
----------
$ top p 25272 d 5
top - 01:52:17 up 2 days, 21:28, 2 users, load...
2,482
Posted By radiatejava
Installing GCC and other utils
I have a platform whose base is Linux but not everything is available on that. Only necessary executables are available and any individual executable can run on that. It is 32-bit and uname -a shows...
2,163
Posted By radiatejava
current locks on a file
I want to know all the locks on a file - read, write etc acquired by various processes. Is there any way to know ?
5,135
Posted By radiatejava
I particularly want to know the meaning of colon...
I particularly want to know the meaning of colon : and .* in the line. Can you pls explain ?
5,135
Posted By radiatejava
Meaning of this line in script
Can anyone explain me the meaning of line #2 in these lines of shell script:

if [ "${PMON}" == "yes" ] ; then
${EXPR} " ${MACTIONS
} " : ".* ${ACTION} " >/dev/null 2>&1 || die "$USAGE"
else...
Showing results 1 to 17 of 17

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