Commit Graph
18 Commits
Author SHA1 Message Date
Ryan Dahl 48f65b3d57 Use uv_exepath 2011-07-15 10:46:11 -07:00
Ben Noordhuis bd0baf2338 Check that PR_SET_NAME is defined.
Avoids breaking the build with older (pre-2006) linux kernels.
Raises a JS exception if the script tries to assign to `process.title`.

Fixes #840.
2011-07-04 17:23:14 +02:00
Robert Mustacchi 317653b4df Rework getNetworkInterfaces() for Linux, SunOS, Mac OS X 2011-05-20 08:34:18 -07:00
Ryan Dahl b368a3b438 Remove bad assert in GetInterfaceAddresses 2011-03-17 12:49:47 -07:00
Ryan Dahl 19e53512b8 os.getNetworkInterfaces() 2011-03-16 16:34:12 -07:00
Ryan Dahl 247d880113 Merge branch 'v0.4'
Conflicts:
	src/node_version.h
2011-03-14 17:45:15 -07:00
Ryan Dahl 55048cdf79 Update copyright headers 2011-03-14 17:37:05 -07:00
Tom Hughes 2c185a9dfd Use higher resolution clock for uptime on Linux (if available). 2011-03-09 09:16:11 -08:00
Tom Hughes cf78ce59b3 Add process.uptime(). 2011-03-07 10:45:25 -08:00
Brian White 1efac74958 Fix os.cpus() on cygwin 2011-02-19 15:14:07 -08:00
Brian White d75c338dd6 Add more functionality to the os module 2010-12-22 11:01:25 -08:00
Vitali Lovich fb8830a64f Fix parsing of linux memory
If process name contains a space, this parsing fails for no good reason.
2010-10-22 10:14:19 -07:00
Ryan Dahl 06634f48eb Implement process.title for linux 2010-08-11 13:15:00 -07:00
Ryan Dahl 5185c15ef7 Stub out process.title 2010-08-11 12:39:42 -07:00
Peter Griess 7a706e4206 Coverity fixes: src/platform_linux.cc 2010-07-12 13:20:31 -07:00
Marshall Culpepper ca35ba640a Initial implementation of process.execPath
Darwin, Linux, Solaris. FreeBSD still needs testing.

TODO: Amend the tests where we use spawn with argv[0].
2010-06-22 02:02:25 -07:00
Ryan Dahl 84c10265db Fix platform_linux.cc, missing include 2010-06-17 18:36:31 -07:00
Ryan Dahl 01a8d270cf Add platform files, move getmem to node::OS class. 2010-06-17 18:23:43 -07:00