02-20-2013
Quote:
Originally Posted by
sluge
Okay, let's start from the beginning:
When I run a process, it reserves some memory and use a subset of reserved memory.
Yes that is correct...
Quote:
Originally Posted by
sluge
Kernel can put some pages of my process to RAM, but some pages to swap slice. But where are the pre-allocated swap spaces here?
The kernel never puts any pages to swap on process initialization...and like bakunin said it simply allocates "X" amount of swap in case it were to be swapped out in the near future. That used to be the way things were done...newer systems have pseudo swap where physical memory if in abundance is reserved instead of swap...because it is faster.
10 More Discussions You Might Find Interesting
1. Solaris
Hi ,
I faced a very strange problem when I unzip a zip file on my solaris workstation. Actually I wanted to transfer a folder, say it TEST which contains some sub-folders inside it from windows to solaris machine. So I zipped this folder to TEST.ZIP on my windows machine.
Then from my... (11 Replies)
Discussion started by: Raj Kumar Arora
11 Replies
2. Solaris
hi, in solaris 10 SUN SPARC V245 server the following df -h output is showing . can i reuse the following disk space by deleting them
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1
20G 5.2G 14G 27% /platform/sun4u-us3/lib/libc_psr.so.1... (2 Replies)
Discussion started by: phani.madiraju
2 Replies
3. IP Networking
Hi folks
how can this be explained?
Cheers
Spacerat
----
tom@jumpstart:~$ cat /etc/resolv.conf
domain acceleris.ch
nameserver 192.168.21.230
tom@jumpstart:~$ nslookup Google 192.168.21.230
Server: 192.168.21.230
Address: 192.168.21.230#53
Non-authoritative answer:... (2 Replies)
Discussion started by: Spacerat
2 Replies
4. Solaris
Hi all,
After deleting some large log files on solaris 9 machine I can see strange df output shows below
/dev/vx/dsk/rootvol 45G 16384E 50G 39879076698694% /
I thought it will back to normal once I restart it but did not. I have seen in sunsolve article 6362734 that "Solaris 8... (0 Replies)
Discussion started by: rajashekar333
0 Replies
5. Solaris
I shared from linux server a dir with nfs3,solaris mount
ok,and can tar files,but if i do ls or cp..
on mnt i have mount the nfs share
root@solaris: mnt $ touch 2
root@solaris: mnt $ ls -lh
ls: can't read ACL on .: Permission denied
root@solaris: mnt $ ls
1.tar
2
root@solaris: mnt $ cp... (4 Replies)
Discussion started by: Linusolaradm1
4 Replies
6. Solaris
i have luns offered by SE3310 being mounted on two T2000 servers (sun solaris 10u11) . i can see the files on both servers but if i create a new file or rename n existing file on one node its not immediately visible on the other unless i unmount n remount the partition ..how can i fix this ? (2 Replies)
Discussion started by: aliyesami
2 Replies
7. Solaris
I have Solaris-10 (Update-9) Sparc server. I am noticing some strange behavior on poolstat output. As per below output, size is 64. Though load is very less for pool_OAG, it should be less ideally. It seems like it is not releasing resource, it seems ?
root@pdrtop01:/# poolstat -r pset
id pool ... (0 Replies)
Discussion started by: solaris_1977
0 Replies
8. Solaris
Hi,
One of the file system is getting full and I was trying to do some housekeeping. I can see two logs directory, I am not sure how to fix it. if I go inside it, it goes inside smaller one
root@pdrpd01-ddp01:/# cd /ltd/apps/LOTM/TeamCDC34/TeamInvest... (6 Replies)
Discussion started by: solaris_1977
6 Replies
9. Programming
Please take a look on following code:
s = socket(PF_INET, SOCK_STREAM, 0); //socket
fcntl(s, F_SETFL, O_NONBLOCK); //set socket to nonblock
retry_conn:
ret = connect(s, (struct sockaddr *)&serv_addr, sizeof(struct sockaddr_in)); // try to connect, for sure... (7 Replies)
Discussion started by: revolta25
7 Replies
10. Solaris
Hi
I have a root script which is setting up user and his dirs and so on. After I create user and set up all the necessary I have to manually set user password. I try all possible ways what google find me and nothing works for me. If maybe one of you have a solution for my problem it will be... (1 Reply)
Discussion started by: Jaffakeks
1 Replies
LEARN ABOUT PLAN9
printmgr
printmgr(1M) System Administration Commands printmgr(1M)
NAME
printmgr - Solaris Print Manager is a graphical user interface for managing printers in a network
SYNOPSIS
/usr/sadm/admin/bin/printmgr
DESCRIPTION
Solaris Print Manager is a Java-based graphical user interface that enables you to manage local and remote printer access. This tool can be
used in the following name service environments: LDAP, NIS, NIS+, and files. You must be logged in as superuser to use this tool.
Using Solaris Printer Manager is the preferred method for managing printer access because Solaris Print Manager centralizes printer infor-
mation when it is used in a name service environment.
Adding printer information to a name service makes access to printers available to all systems on the network and generally makes printer
administration easier because all the information about printers is centralized.
Solaris Print Manager may be run on a remote system with the display sent to the local system. See the System Administration Guide:
Advanced Administration for instructions on setting the DISPLAY environment variable.
Using Solaris Print Manager to perform printer-related tasks automatically updates the appropriate printer databases. Solaris Print Manager
also includes a command-line console that displays the lp command line for the add, modify, and delete printer operations. Errors and warn-
ings may also be displayed when Printer Manager operations are performed.
Help is available by clicking the <Help> button.
USAGE
Solaris Print Manager enables you to do the following tasks:
Select a Name Service
Select a name service for retrieving or changing printer information.
Add Access to a Printer
Add printer access on a printer client using Solaris Print Manager.
Add an Attached Printer
After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for
printing.
Add a Network Printer
After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for
printing.
Modify Printer Properties
After adding access to a printer or adding an attached or network printer, you can modify certain printer attributes.
Delete a Printer
Delete access to a printer from the print client or delete a printer from the print server or from the name service environment.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWppm |
+-----------------------------+-----------------------------+
SEE ALSO
ldap(1), lpget(1M), lpset(1M), attributes(5)
System Administration Guide: Advanced Administration for information on LDAP server replication.
Although users can use the LDAP command line utilities ldapadd(1) and ldapmodify(1)to update printer entries in the directory, the pre-
ferred method is to use lpset. Otherwise, if the lpadd and lpmodify utilities are used, the administrator must ensure that the printer-name
attribute value is unique within the ou=printers container on the LDAP server. If the value is not unique, the result of modifications done
using lpset or the Solaris Print Manager, printmgr(1M) may be unpredictable.
SunOS 5.10 23 May 2003 printmgr(1M)