码迷,mamicode.com
首页 >  
搜索关键字:atime    ( 446个结果
find 命令局部小结之 xtime
大家在使用find命令的时候往往会使用它的 -name 或者 -xtime,在这里就说下他的xtime。 find / -mtime +7 、find / -mtime -7、find / -mtime 7 UNIX/Linux文件系统每个文件都有三种时间戳: 访问时间(-atime/天,-amin ...
分类:其他好文   时间:2018-05-04 16:52:28    阅读次数:138
linux常用命令:touch 命令
linux的touch命令不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件。 1.命令格式: touch [选项]... 文件... 2.命令参数: -a 或--time=atime或--time=access或--time=use 只更改存取时间。 -c 或 ...
分类:系统相关   时间:2018-05-01 10:54:50    阅读次数:243
【pandas】pandas.to_datatime()---时间格式转换
标准时间格式:2012-12-21 时间转换函数:pandas.to_datatime() # -*- coding: utf-8 -*- # 生成数据 import pandas as pd data = {'birth':['2011/12/01','2012/12/02','2012/12/0... ...
分类:其他好文   时间:2018-04-29 15:23:21    阅读次数:1728
UGUI_冻结技能键盘点击触发
1.在某一张image图上添加Button组件,使其具有点击触发事件的功能; 2.outline组件 3.SkillItem脚本 Image类型为Filled;控制的参数为冻结图片中的组建Image中的fillAmount属性。 ...
分类:其他好文   时间:2018-04-28 16:54:29    阅读次数:172
获取几分钟、几秒、几天以前
function timeAgo(atime){ atime= new Date(atime) var byTime = [365*24*60*60*1000,24*60*60*1000,60*60*1000,60*1000,1000]; var unit = ["年","天","小时","分钟", ...
分类:其他好文   时间:2018-04-27 19:44:17    阅读次数:180
day 29,OS模块 。多看
一、os 模块 ''' os.getcwd() 获取当前工作目录,即当前python脚本工作的目录路径 os.chdir("dirname") 改变当前脚本工作目录;相当于shell下cd os.curdir 返回当前目录: ('.') os.pardir 获取当前目录的父目录字符串名:('..') ...
分类:其他好文   时间:2018-04-26 23:26:42    阅读次数:190
Linux服务器性能查看分析调优
一 linux服务器性能查看 1.1 cpu性能查看 1、查看物理cpu个数: cat /proc/cpuinfo |grep "physical id"|sort|uniq|wc -l 2、查看每个物理cpu中的core个数: cat /proc/cpuinfo |grep "cpu cores" ...
分类:系统相关   时间:2018-04-26 16:58:11    阅读次数:205
mysql表操作
说明:student是要创建的表名 主键:primary key 注释:comment 1,创建表: create table student( sno varchar(20) not null primary key comment '学号', sname varchar(20) not null ...
分类:数据库   时间:2018-04-21 16:19:03    阅读次数:221
鸟叔的私房菜的第二天
touch:1、建立一个新档案 2、将某个档案日期修订为目前 (mtime 和 atime) 文件的 access time,atime 是在读取文件或者执行文件时更改的。 文件的 modified time,mtime 是在写入文件时随文件内容的更改而更改的。 文件的 create time,ct ...
分类:其他好文   时间:2018-04-20 18:59:59    阅读次数:158
python 文件操作 练习:取得文件的最后存取时间
#coding=utf-8 import osimport time file_atime=int(os.path.getatime('d:\\a.txt'))print "file_atime:",file_atimetime_arr=time.localtime(file_atime)print ...
分类:编程语言   时间:2018-04-20 14:36:09    阅读次数:160
446条   上一页 1 ... 13 14 15 16 17 ... 45 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!