|
|
Up |
|
|
  |
Author: laklak
Date: Jul 4, 2008 23:16
Where I can get the new traceroute implementation using the IP
traceroute option?
I already have the old thing which will send packets with ttl and the
router will decrement that etc..
Now I want the new implementation that is given in the RFC 1393.
If any one knows please reply?
|
| |
|
| |
no comments
|
|
  |
Author: nobody+cplusplusnobody+cplusplus
Date: Jul 4, 2008 11:21
Hi all,
Below is coded on linux. If you need specifics let me know. But the output
is all messed up.
//file revup.txt
Alpha centauri.
Centauri alpha.
pomato
//end revup.txt
#include
#include
#include
#include
#include
#include
|
| Show full article (1.92Kb) |
|
| |
7 Comments |
|
  |
Author: K-mart CashierK-mart Cashier
Date: Jul 4, 2008 09:10
I just don't spend enough time "tinkering" with *nix. Anyhow when I
read from an unbuffered input and type something in, I get two prompts
after I hit return.
m-net%% more tty.c
#include
int main(void)
{
char c;
return(read(0, &c, 1) == 1) ? (unsigned char)c : EOF;
return 0;
}
m-net%% ./tty
c
m-net%%
m-net%%
Now when I buffer the input, and type something in, I only get one
prompt after I hit return.
m-net%% more tty2.c
#include
|
| Show full article (0.75Kb) |
|
1 Comment |
|
  |
Author: RaxitRaxit
Date: Jul 4, 2008 08:45
Hi,
[sorry for repeating message again]
before few times on solaris 10, one process started cosuming cpu
towards 100%%.
I have taken pstack and gcore. And by viewing stacks of threads, its
suprised to me !
128 threads are active
------
ff140090 lwp_park (0, 0, 0)
ff12409c _flockget (ff16c3b8, c9610, 44274, ff117594, ff16c308,
c9610) + 94
ff118110 fprintf (c9640, a7ae8, f7afa558, 501b0, ff118460, ff168284)
+ 50
00059644 logstr
many different threads (approx 100) executing/stcuk in above.
And below two threads, one in fopen and one in write, its get locked.
----
ff140090 lwp_park (0, 0, 0)
ff12409c _flockget (ff16c3b8, c9610, 44274, ff12bb8c, ff16c308,
c9610) + 94
ff121478 _endopen (c98b0, a7b00, c9640, 0, 109, 0) + 12c
ff124fac fopen (c98b0, a7b00...
|
| Show full article (1.76Kb) |
|
9 Comments |
|
  |
Author: RaxitRaxit
Date: Jul 4, 2008 07:50
Hi,
before few times on solaris 10, one process started cosuming cpu
towards 100%%.
I have taken pstack and gcore. And by viewing stacks of threads, its
suprised to me !
128 threads are active
------
ff140090 lwp_park (0, 0, 0)
ff12409c _flockget (ff16c3b8, c9610, 44274, ff117594, ff16c308,
c9610) + 94
ff118110 fprintf (c9640, a7ae8, f7afa558, 501b0, ff118460, ff168284)
+ 50
00059644 logstr
many different threads (approx 100) executing/stcuk in above.
And below two threads, one in fopen and one in write, its get locked.
----
ff140090 lwp_park (0, 0, 0)
ff12409c _flockget (ff16c3b8, c9610, 44274, ff12bb8c, ff16c308,
c9610) + 94
ff121478 _endopen (c98b0, a7b00, c9640, 0, 109, 0) + 12c
ff124fac fopen (c98b0, a7b00...
|
| Show full article (1.73Kb) |
|
1 Comment |
|
  |
|
|
  |
Author: RaxitRaxit
Date: Jul 4, 2008 05:30
Hi,
any clue for below dump ? same code working on other machine fine.
Any machine/ OS specific stuff. ?
bash$uname -a
SunOS 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-
Fire-880
(gdb) info threads
* 1 process 73221 0xff3bf430 in rtld_db_dlactivity () from /lib/
ld.so.1
|
| Show full article (0.91Kb) |
|
3 Comments |
|
|
|
|