From: Hakan Koseoglu (hakan@prosoft.com.tr)
Date: Thu 08 Jun 2000 - 18:06:01 EEST
Mete Balci wrote:
> Cevaba gelince /etc/ altinda biryerlerde limit ile ilgili birseyler var.
> Tam nerede oldugunu hatirlamiyorum kullanmayali uzun sure oldu. Orada
> cpu,mem ve birkac tane daha kisitlama yapilabiliyor.
Mete ne guzel demis...
Kinayan arkadas... Sorunun sorun degil, nerelere bakmayi bilmedigin
desem?
$ cat /etc/profile | grep ulimit
ulimit -c 1000000
man bash'tan alinti:
ulimit [-SHacdfmstpnuv [limit]]
Ulimit provides control over the resources avail
able to the shell and to processes started by it,
on systems that allow such control. The value of
limit can be a number in the unit specified for the
resource, or the value unlimited. The H and S
options specify that the hard or soft limit is set
for the given resource. A hard limit cannot be
increased once it is set; a soft limit may be
increased up to the value of the hard limit. If
neither H nor S is specified, the command applies
to the soft limit. If limit is omitted, the cur
rent value of the soft limit of the resource is
printed, unless the H option is given. When more
than one resource is specified, the limit name and
unit is printed before the value. Other options
are interpreted as follows:
-a all current limits are reported
-c the maximum size of core files created
-d the maximum size of a process's data
segment -f the maximum size of files created
by the
shell
-m the maximum resident set size
-s the maximum stack size
-t the maximum amount of cpu time in seconds
-p the pipe size in 512-byte blocks (this may
not be set)
-n the maximum number of open file descriptors
(most systems do not allow this value to be
set, only displayed)
-u the maximum number of processes available to
a single user
-v The maximum amount of virtual memory avail
able to the
shell
Listeden cikmak icin:
unsub linux
mesajini listeci@bilkent.edu.tr adresine gonderiniz.
Lutfen Listeci icin MIME / HTML / Turkce Aksan kullanmayin.
Listeci arayuzu: http://listweb.bilkent.edu.tr/yardim/bilkent/linux.html
Liste arsivinin adresi: http://listweb.bilkent.edu.tr/