home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!UB.com!pacbell.com!decwrl!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sdd.hp.com!saimiri.primate.wisc.edu!ames!nsisrv!climate!merritt
- From: merritt@climate.NoSubdomain.NoDomain (John H. Merritt)
- Subject: Re: How to know how much memory needed to run executable(a.out)
- Message-ID: <1993Jan26.221254.14768@nsisrv.gsfc.nasa.gov>
- Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
- Nntp-Posting-Host: climate.gsfc.nasa.gov
- Organization: Climate and Radiation Branch
- References: <C19tKx.F0u@news.cso.uiuc.edu>
- Date: Tue, 26 Jan 1993 22:12:54 GMT
- Lines: 18
-
- In article <C19tKx.F0u@news.cso.uiuc.edu>, amg8408@uxa.cso.uiuc.edu (Avijit Moitra) writes:
- |> I am interested to know how much memory (core) will be needed to run
- |> my executable. It does not run on a 16MB m/c but runs on a 32-64 MB
- Run the program on the 32-64MB machine.
- Identify the process with ps.
- ls -l /debug | grep pid -- where pid is the process id that
- you found with ps. The size field
- of ls is the core size of your program.
-
- --
- \___ \______ \__ \__ \___ \__
- \___ \________ \__ \__ \____ \__
- \___ \__ \__ \__ \__ \_____ \__
- \___ \__ \__ \_______ \__ \__\__ merritt@climate.gsfc.nasa.gov
- \___ \___ \__ \__ \_______ \__ \____
- \___ \___ \__ \__ \__ \__ \__ \___ "Yesterday I knew nothing,
- \_________ \_______ \__ \__ \__ \__ Today I know that."
- \______ \_____ \__ \__ \__ \_
-