10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
question:
why is that when I created a user under solaris8, i got two lines before the login..
sample:
login as: user1
user1@1.1.1.1's password:
Last login: Fri Feb 25 17:00:52 2011 from 12.0.0.5
Sun Microsystems Inc. SunOS 5.8 Generic February 2000
Sun Microsystems Inc. SunOS... (0 Replies)
Discussion started by: lhareigh890
0 Replies
2. Solaris
hello,
I installed netsnmp 5.6 on solaris 8 (sparc).
now I want to have cpu, memory and disk used, for this when i execute:
snmpwalk -v1 -c public localhost memory
it displays me:
End of mib
please tel me how to do, to have this information (cpu, memory and disk used).
thank you (0 Replies)
Discussion started by: lamou23
0 Replies
3. Solaris
How can i know service status and its dependencies in solaris 8,9?
Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies
4. Solaris
Hi, boss
i have a question about the system add the new disk. I add 6 disks in Sunfire 880, i want to put these 6 disks in to service but i do not want re-install the system, some guys can give me some advie on this case?
thanks very much
the follow is detail
0. c1t0d0 <SUN72G cyl... (3 Replies)
Discussion started by: surainbow
3 Replies
5. Solaris
What is the max file system that I can create. Is the max 2TB? I trying to connect a iscsi device and Solaris can only see 999 GB. Do I have to change sector size? (2 Replies)
Discussion started by: kmcguinn71
2 Replies
6. Solaris
hi,
I am running solaris8 under E220R. While adding the user system show the following error message. How can i overcome this error?. anyone plz help me.
bash-2.03# passwd raja
New Password:
Re-enter new Password:
Segmentation Fault
Thanks
muthu (0 Replies)
Discussion started by: muthulingaraja
0 Replies
7. UNIX for Dummies Questions & Answers
there is -r switch for grep in linux, but in solaris 8, I found it doesn't support it. But I really need this function to rescue my
sub-directories, so anybody can help me?thanks!! (2 Replies)
Discussion started by: cooldown
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,I have a problme when log on Solaris 8 ,screen show"DT information system do not startup".what's this.how to do it?
thankx. (3 Replies)
Discussion started by: Yeliu
3 Replies
9. UNIX for Dummies Questions & Answers
i have downloaded 3 zipped solaris ver 8 07/01 installation cd and i want to ask this question: 1. what will i do to burn it? do i need to extract the file and then burn it? what?
Note: Those zipped files have only one file each and it has more than 100mb plus. (6 Replies)
Discussion started by: rodelu
6 Replies
10. UNIX for Dummies Questions & Answers
I have just recently installed solaris8 on my box, and got two minor problems: Based on the size of partitions i should have approx 10gigs of mem., but the system registeres 0 space available on my harddrive....That problem results in a slight inability to install any apps... The second problem is... (3 Replies)
Discussion started by: Diesel
3 Replies
wx(3erl) Erlang Module Definition wx(3erl)
NAME
wx - A port of wxWidgets.
DESCRIPTION
A port of wxWidgets .
This is the base api of wxWidgets . This module contains functions for starting and stopping the wx-server, as well as other utility func-
tions.
wxWidgets is object oriented, and not functional. Thus, in wxErlang a module represents a class, and the object created by this class has
an own type, wxCLASS(). This module represents the base class, and all other wxMODULE's are sub-classes of this class.
Objects of a class are created with wxCLASS:new(...) and destroyed with wxCLASS:destroy(). Member functions are called with wxCLASS:mem-
ber(Object, ...) instead of as in C++ Object.member(...).
Sub class modules inherit (non static) functions from their parents. The inherited functions are not documented in the sub-classes.
This erlang port of wxWidgets tries to be a one-to-one mapping with the original wxWidgets library. Some things are different though, as
the optional arguments use property lists and can be in any order. The main difference is the event handling which is different from the
original library. See wxEvtHandler .
The following classes are implemented directly as erlang types:
wxPoint={x,y},wxSize={w,h},wxRect={x,y,w,h},wxColour={r,g,b [,a]}, wxString= unicode:charlist() , wxGBPosition={r,c},wxGB-
Span={rs,cs},wxGridCellCoords={r,c}.
wxWidgets uses a process specific environment, which is created by wx:new/0 . To be able to use the environment from other processes, call
get_env/0 to retrieve the environment and set_env/1 to assign the environment in the other process.
Global (classless) functions are located in the wx_misc module.
DATA TYPES
colour() :
A 3 or 4 tuple: {R,G,B,A} or as argument {R,G,B} is also accepted where each colour channel is a an integer between 0-255.
datetime() :
{{Year,Month,Day}, {Hour,Minute,Second}} in local timezone.
mouseState() :
See #wxMouseState{} defined in wx.hrl
wxObject() :
Opaque object
wx_env() :
Wx process environment
wx_mem() :
Wx memory area
EXPORTS
new() -> wxObject()
Starts a wx server.
new(Options::[Option]) -> wxObject()
Starts a wx server. Option may be {debug, Level}, see debug/1.
destroy() -> ok
Stops a wx server.
get_env() -> wx_env()
Gets this process's current wx environment. Can be sent to other processes to allow them use this process wx environment.
See also: set_env/1 .
set_env(Wx_env::wx_env()) -> ok
Sets the process wx environment, allows this process to use another process wx environment.
null() -> wxObject()
Returns the null object
is_null(Wx_ref::wxObject()) -> boolean()
Returns true if object is null, false otherwise
getObjectType(Wx_ref::wxObject()) -> atom()
Returns the object type
typeCast(Old::wxObject(), NewType::atom()) -> wxObject()
Casts the object to class NewType. It is needed when using functions like wxWindow:findWindow/2, which returns a generic wxObject
type.
batch(Fun::function()) -> term()
Batches all wx commands used in the fun. Improves performance of the command processing by grabbing the wxWidgets thread so that no
event processing will be done before the complete batch of commands is invoked.
See also: foldl/3 , foldr/3 , foreach/2 , map/2 .
foreach(Fun::function(), List::list()) -> ok
Behaves like lists:foreach/2 but batches wx commands. See batch/1 .
map(Fun::function(), List::list()) -> list()
Behaves like lists:map/2 but batches wx commands. See batch/1 .
foldl(Fun::function(), Acc::term(), List::list()) -> term()
Behaves like lists:foldl/3 but batches wx commands. See batch/1 .
foldr(Fun::function(), Acc::term(), List::list()) -> term()
Behaves like lists:foldr/3 but batches wx commands. See batch/1 .
create_memory(Size::integer()) -> wx_memory()
Creates a memory area (of Size in bytes) which can be used by an external library (i.e. opengl). It is up to the client to keep a
reference to this object so it does not get garbage collected by erlang while still in use by the external library.
This is far from erlang's intentional usage and can crash the erlang emulator. Use it carefully.
get_memory_bin(Wx_mem::wx_memory()) -> binary()
Returns the memory area as a binary.
retain_memory(Wx_mem::wx_memory()) -> ok
Saves the memory from deletion until release_memory/1 is called. If release_memory/1 is not called the memory will not be garbage
collected.
release_memory(Wx_mem) -> term()
debug(Level::term()) -> ok
Types Level = none | verbose | trace | driver | [Level]
Sets debug level. If debug level is verbose or trace each call is printed on console. If Level is driver each allocated object and
deletion is printed on the console.
demo() -> ok
Starts a wxErlang demo if examples directory exists and is compiled
AUTHORS
<>
wxErlang 0.98.9 wx(3erl)