- Community Home
- >
- HPE Community, Japan
- >
- HP-UX
- >
- System Management
- >
- ファイルの作成タイムスタンプ
system management
1753599
メンバー
6399
オンライン
108796
解決策
フォーラム
カテゴリ
Company
Local Language
戻る
フォーラム
ディスカッションボード
フォーラム
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
ディスカッションボード
ディスカッションボード
ディスカッションボード
フォーラム
ディスカッションボード
戻る
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
ブログ
情報
コミュニティ言語
言語
フォーラム
ブログ
トピックオプション
- RSS フィードを購読する
- トピックを新着としてマーク
- トピックを既読としてマーク
- このトピックを現在のユーザーにフロートします
- ブックマーク
- 購読
- 印刷用ページ
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
01-17-2004 08:08 PM
01-17-2004 08:08 PM
ファイルの作成タイムスタンプ
ファイルの作成時間を秒まで知りたい。
古いファイルでも、秒単位まで作成時間を知る方法はありますか?
古いファイルでも、秒単位まで作成時間を知る方法はありますか?
1件の返信1
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
01-19-2004 08:49 AM
01-19-2004 08:49 AM
ファイルの作成タイムスタンプ
プログラムを使う方法があります。
#define _INCLUDE_POSIX_SOURCE
#include
#include
#include
main(int argc, char *argv[])
{
int i;
struct stat buff;
for(i=1; i < argc; i++) {
printf("%s:\n", argv);
stat(argv, &buff);
printf("\t作成時間....................%d\n", buff.st_ctime);
}
}
$ cc -Ae aaa.c
$ a.out aaa.c
aaa.c:
作成時間....................1074386915
$ echo "0d1074386915=Y" | adb
2004 Jan 18 09:48:35
#define _INCLUDE_POSIX_SOURCE
#include
#include
#include
main(int argc, char *argv[])
{
int i;
struct stat buff;
for(i=1; i < argc; i++) {
printf("%s:\n", argv);
stat(argv, &buff);
printf("\t作成時間....................%d\n", buff.st_ctime);
}
}
$ cc -Ae aaa.c
$ a.out aaa.c
aaa.c:
作成時間....................1074386915
$ echo "0d1074386915=Y" | adb
2004 Jan 18 09:48:35
上記の意見は、Hewlett Packard Enterpriseではなく、著者の個人的な意見です。 このサイトを使用することで、利用規約と参加規約に同意したことになります 。
© Copyright 2024 Hewlett Packard Enterprise Development LP