Sponsored Content
The Lounge What is on Your Mind? How Many Computers Do You Have At Home? Post 302132660 by Neo on Saturday 18th of August 2007 02:45:01 PM
Old 08-18-2007
Vino,

Please don't count computers at your office, only at your home or home/office.

(they must be in your home).
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

two computers - one modem

I have two mashines with RedHat 8.0......they connected with cross over cabel...I want use both mashines for Internet, but modem has only first computer... Maybe..through gateway ?.... What must i do for it ?...... sorry for my terrible english.... (3 Replies)
Discussion started by: Pennywize
3 Replies

2. IP Networking

two computers one internet

i have a computer (sempron 2200+) with Suse 9.3 and another computer with windows 98 (PI 233 Mhz). I'm connect first computer (with Suse) on the Internet through ethernet but second computers in not connect. How can connect second computers on the internet (with 3 network card...two on the first... (8 Replies)
Discussion started by: dragos
8 Replies

3. UNIX for Advanced & Expert Users

Using other computers for processing

Hello I've wrote a C++ program which does some mathematical calculations, but the problem is that it takes way too long on any computer to finish. Is there anyway to make more than 1 computer do the processing so it can process faster? (5 Replies)
Discussion started by: arya6000
5 Replies

4. Homework & Coursework Questions

Track availability of computers

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I must write a program that records the availability of computers. For the argument i have to give him a file... (4 Replies)
Discussion started by: petel1
4 Replies

5. Shell Programming and Scripting

cp -p /home/* home/exp/*.date not working please help

:( ---------- Post updated at 01:51 AM ---------- Previous update was at 01:50 AM ---------- Not working ---------- Post updated at 02:04 AM ---------- Previous update was at 01:51 AM ---------- cp -p /home/* home/exp/*.`date` i am using this (4 Replies)
Discussion started by: rishiraaz
4 Replies

6. Shell Programming and Scripting

executing top on several computers

Hi I'm waiting for the IT department to install Ganglia, and until that happens, I need to know the current load on 14 computers. To do this, I'm trying to write a small script that output the top processes on each of the computers using top, but for some reason it doesn't work. ... (3 Replies)
Discussion started by: Tobbev
3 Replies

7. Solaris

Rcp between 2 computers

Hi, I need to rcp heavy files between 2 solaris 10/sparc M3000 computers. Currently theses 2 computers are linked via a switch/firewall and the rcp commands take a very long time, I have been told that this is because of the firewall (old one). I asked my client to by a cross ethernet cable and... (2 Replies)
Discussion started by: zionassedo
2 Replies

8. What is on Your Mind?

LUNIX on a Commodore 64, yup UNIX on one of the most famous home computers of all time...

Enjoy guys and gals... LUnix on a Commodore 64... YouTube Bazza... (1 Reply)
Discussion started by: wisecracker
1 Replies
POSIX_GETPWUID(3)							 1							 POSIX_GETPWUID(3)

posix_getpwuid - Return info about a user by user id

SYNOPSIS
array posix_getpwuid (int $uid) DESCRIPTION
Returns an array of information about the user referenced by the given user ID. PARAMETERS
o $uid - The user identifier. RETURN VALUES
Returns an associative array with the following elements: The user information array +--------+---------------------------------------------------+ |Element | | | | | | | Description | | | | +--------+---------------------------------------------------+ | name | | | | | | | The name element contains the username of the | | | user. This is a short, usually less than 16 char- | | | acter "handle" of the user, not the real, full | | | name. | | | | |passwd | | | | | | | The passwd element contains the user's password | | | in an encrypted format. Often, for example on a | | | system employing "shadow" passwords, an asterisk | | | is returned instead. | | | | | uid | | | | | | | User ID, should be the same as the $uid parame- | | | ter used when calling the function, and hence | | | redundant. | | | | | gid | | | | | | | The group ID of the user. Use the function | | | posix_getgrgid(3) to resolve the group name and a | | | list of its members. | | | | | gecos | | | | | | | GECOS is an obsolete term that refers to the | | | finger information field on a Honeywell batch | | | processing system. The field, however, lives on, | | | and its contents have been formalized by POSIX. | | | The field contains a comma separated list con- | | | taining the user's full name, office phone, | | | office number, and home phone number. On most | | | systems, only the user's full name is available. | | | | | dir | | | | | | | This element contains the absolute path to the | | | home directory of the user. | | | | | shell | | | | | | | The shell element contains the absolute path to | | | the executable of the user's default shell. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 Example use of posix_getpwuid(3) <?php $userinfo = posix_getpwuid(10000); print_r($userinfo); ?> The above example will output something similar to: Array ( [name] => tom [passwd] => x [uid] => 10000 [gid] => 42 [gecos] => "tom,,," [dir] => "/home/tom" [shell] => "/bin/bash" ) SEE ALSO
posix_getpwnam(3), POSIX man page GETPWNAM(3). PHP Documentation Group POSIX_GETPWUID(3)
All times are GMT -4. The time now is 06:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy