how to get one user's Bandwidth Out and Bandwidth In,

Asked by zjfhappy705

 how i can get one user's bandwidth out and bandwidth in, when i give a storage service by swift?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
zjfhappy705
Solved:
Last query:
Last reply:
Revision history for this message
John Dickinson (notmyname) said :
#1

The stats system included with swift (http://swift.openstack.org/overview_stats.html) results in a csv file that includes each account's bandwidth per hour.

Revision history for this message
zjfhappy705 (zjfhappy-gmail) said :
#2

thank you !

is the following description correct?
in my understanding, if i put a 10MB file size to swift, then the "bandwidth in" will increase 10MB, and if i download a 10MB file size from swift, then the "bandwidth out" will increase 10MB.

Revision history for this message
zjfhappy705 (zjfhappy-gmail) said :
#3

when i'am "Running the stats system on SAIO",
i have a problem in this guide:
"1, Create a swift account to use for storing stats information, and note the account hash. The hash will be used in config files."

how to create a account? i find a command "swauth-add-account", but i don't know how to use it? can give me a example?

 and what's the meaning of "the account hash", is it just hash(accountname)?

Revision history for this message
zjfhappy705 (zjfhappy-gmail) said :
#4

here still need an answer,

Revision history for this message
John Dickinson (notmyname) said :
#5

you are correct about the bandwidth

the account hash is the account string you are given when you create the account (something like AUTH_aa70f1876d59455aacd41a634f42574f)

Revision history for this message
zjfhappy705 (zjfhappy-gmail) said :
#6

thanks, John Dickinson.

my problem has been solved。

:),