Sponsored Content
Full Discussion: Recording stats for Comcast
Top Forums UNIX for Advanced & Expert Users Recording stats for Comcast Post 302846437 by SandmanCL on Saturday 24th of August 2013 02:12:54 AM
Old 08-24-2013
Recording stats for Comcast

The last few weeks I've had a problem with Comcast in San Francisco (anyone else sharing the same issue ? Please share !)

During the late afternoon throughout early morning hours I see a high amount of dropped packets and increased latency when pinging my favorite destinations, like 8.8.8.8.

Before contacting Comcast customer support level 1000 I'd like to come prepared. What would be some quick & dirty scripts I could run to collect network stats to graph in a way that makes it easy to see what I'm experiencing ? I'm thinking a combination of ping & netstat output to generate some data files to feed into gnuplot.

Suggestions greatly appreciated Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

recording keystrokes in vi

What is the syntax for recording command in vi. If I want to repeat a command over and over. My file is 12/01/05,,adsmte,9,0,0 12/02/05,,adsmte,12,0,0 12/03/05,,adsmte,10,0,0 12/04/05,,adsmte,11,0,0 12/05/05,,adsmte,10,0,0 12/06/05,,adsmte,10,0,0 12/01/05,,tsmpc1,57,1,2... (5 Replies)
Discussion started by: reggiej
5 Replies

2. IP Networking

Data recording on Network

Hello, I have been task to record data on the network between two computers. On one side I have a Solaris 8 computer and on the other side there is a VX/Works machine. The messages that come across are data messages using a UDP protocol on a dedicated IP address. Does Solaris have anything I can... (4 Replies)
Discussion started by: rtoba
4 Replies

3. UNIX for Dummies Questions & Answers

recording cpu and memory usage

Is there a way for me to record cpu and memory usage over time without buying and installing new software? I know I can use top to see the current state, but can I record that data somehow? (2 Replies)
Discussion started by: cshih31
2 Replies

4. Shell Programming and Scripting

Recording a UNIX Session

Hi All, I have a question regarding recording the unix sessions. I know the recording can be done using script comman, however i want to create a daily file of unix session. Also when i open multiple sessions how will the script multiple session. Please suggest some solutions also which file... (0 Replies)
Discussion started by: amitkhiare
0 Replies

5. UNIX for Dummies Questions & Answers

connecting my server to comcast

Hi, I just setup a server running centos 4 that I am going to use for a mail server. I setup NAT in my router to open up the smtp port and i assigned the server a static ip address using ifconfig. Now is there a step im missing because now i cant route out of the server or ping anything? Oh btw... (0 Replies)
Discussion started by: mcraul
0 Replies

6. Post Here to Contact Site Administrators and Moderators

My game scores are not recording

Hi. I scored 38 on the hex game and it would not record my score. Strange. (2 Replies)
Discussion started by: MokoMoko
2 Replies

7. OS X (Apple)

Any mac software for recording keystrokes

I'm trying to find a good keylogger that doesn't come with any viruses. It happens to me several times that my browser crashes when I am in article writing or some other thing, very annoying. Thus, I need a keylogger to keep all my keystroke recorded. I 'v tried some, like the Aobo Mac Keylogger,... (1 Reply)
Discussion started by: Bluerosen
1 Replies

8. Shell Programming and Scripting

Extracting recording using egrep

Hello, Need help using egrep file format: test.gz Date, time, , number 1, number 2, counter... 20130618,912154, ,009912345678,911111111111,10000, , ,abc 20130618,982148, ,009101373810,034028791952294,8999, , ,gh Want to extract number1 OR number2 records in files based on a two or... (8 Replies)
Discussion started by: vegasluxor
8 Replies
COMPACT(3)								 1								COMPACT(3)

compact - Create array containing variables and their values

SYNOPSIS
array compact (mixed $varname1, [mixed $...]) DESCRIPTION
Creates an array containing variables and their values. For each of these, compact(3) looks for a variable with that name in the current symbol table and adds it to the output array such that the variable name becomes the key and the contents of the variable become the value for that key. In short, it does the opposite of extract(3). Any strings that are not set will simply be skipped. PARAMETERS
o $varname1 -compact(3) takes a variable number of parameters. Each parameter can be either a string containing the name of the variable, or an array of variable names. The array can contain other arrays of variable names inside it; compact(3) handles it recursively. RETURN VALUES
Returns the output array with all the variables added to it. EXAMPLES
Example #1 compact(3) example <?php $city = "San Francisco"; $state = "CA"; $event = "SIGGRAPH"; $location_vars = array("city", "state"); $result = compact("event", "nothing_here", $location_vars); print_r($result); ?> The above example will output: Array ( [event] => SIGGRAPH [city] => San Francisco [state] => CA ) NOTES
Note Gotcha Because variable variables may not be used with PHP's Superglobal arrays within functions, the Superglobal arrays may not be passed into compact(3). SEE ALSO
extract(3). PHP Documentation Group COMPACT(3)
All times are GMT -4. The time now is 08:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy