cynthia / gperftools

Automatically exported from code.google.com/p/gperftools
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Curl error : host problem #436

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I run the command to test and get a curl error:
pprof --text /bin/ls ls.prof
Using local file /bin/ls.
Gathering CPU profile from http://ls.prof/pprof/profile?seconds=30 for 30 
seconds to
  /env/home/user/pprof/ls.1338800955.ls.prof
Be patient...

curl: (6) Couldn't resolve host 'ls.prof'
Failed to get profile: curl 'http://ls.prof/pprof/profile?seconds=30' > 
/env/home/user/pprof/.tmp.ls.1338800955.ls.prof: Aucun fichier ou dossier de ce 
type.

I run it on a Debian 6 VM.

for info:
uname -a
Linux vminf57 2.6.32-5-amd64 #1 SMP Mon Jan 16 16:22:28 UTC 2012 x86_64 
GNU/Linux

I hope you can help me.

Jeremy

Original issue reported on code.google.com by semh...@gmail.com on 4 Jun 2012 at 9:15

GoogleCodeExporter commented 9 years ago
I think that it cannot find ls.prof in the current directory so it thinks you 
are trying to load a remote profile and tries to search for it. For example:

david@hatch:~/gperftools$ pprof --text /bin/ls foo
Using local file /bin/ls.
Gathering CPU profile from http://foo/pprof/profile?seconds=30 for 30 seconds to
  /home/david/pprof/ls.1356276363.foo
Be patient...
sh: curl: not found
Failed to get profile: curl 'http://foo/pprof/profile?seconds=30' > 
/home/david/pprof/.tmp.ls.1356276363.foo: No such file or directory

Original comment by chapp...@gmail.com on 23 Dec 2012 at 3:26

GoogleCodeExporter commented 9 years ago
i have the exact same problem to 

Original comment by Amin.Hed...@gmail.com on 1 Jan 2013 at 4:40

GoogleCodeExporter commented 9 years ago
the exact same problem

Original comment by kellyhav...@gmail.com on 16 Mar 2013 at 9:34